summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/sptests/sp34/changepri.c2
-rw-r--r--testsuites/sptests/sp35/priinv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index 02c0fcec78..40eef1349b 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -51,7 +51,7 @@ const char *CallerName(void)
#else
TempName.u = _Thread_Executing->Object.name.name_u32;
#endif
- sprintf( buffer, "%c%c%c%c -- %d",
+ sprintf( buffer, "%c%c%c%c -- %" PRIdPriority_Control,
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],
_Thread_Executing->current_priority
);
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index e2691d7c60..4b0821ea73 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -93,7 +93,7 @@ const char *CallerName(void)
#else
TempName.u = (uint32_t) _Thread_Executing->Object.name.name_u32;
#endif
- sprintf( buffer, "%c%c%c%c -- %d",
+ sprintf( buffer, "%c%c%c%c -- %" PRIdPriority_Control,
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],
_Thread_Executing->current_priority
);