[rtems commit] tmacros.h: Fix print defines
Sebastian Huber
sebh at rtems.org
Tue Feb 14 10:12:49 UTC 2017
Module: rtems
Branch: master
Commit: c341463c9788f3325641eef6f0239da9352b6d8d
Changeset: http://git.rtems.org/rtems/commit/?id=c341463c9788f3325641eef6f0239da9352b6d8d
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Feb 14 08:58:33 2017 +0100
tmacros.h: Fix print defines
---
testsuites/support/include/tmacros.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h
index d8aec2a..4898aea 100644
--- a/testsuites/support/include/tmacros.h
+++ b/testsuites/support/include/tmacros.h
@@ -317,11 +317,11 @@ extern "C" {
#endif
/* c.f. cpukit/score/include/rtems/score/priority.h */
-#define PRIdPriority_Control PRId32
-#define PRIxPriority_Control PRIx32
+#define PRIdPriority_Control PRIu64
+#define PRIxPriority_Control PRIx64
/* rtems_task_priority is a typedef to Priority_Control */
-#define PRIdrtems_task_priority PRIdPriority_Control
-#define PRIxrtems_task_priority PRIxPriority_Control
+#define PRIdrtems_task_priority PRIu32
+#define PRIxrtems_task_priority PRIx32
/* c.f. cpukit/score/include/rtems/score/watchdog.h */
#define PRIdWatchdog_Interval PRIu32
More information about the vc
mailing list