From 7bde91bd5fd20e2c0c91193728c793e0675bdc03 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Jan 2019 09:05:49 +0100 Subject: Fix format warnings due to ino_t changes --- cpukit/include/rtems/inttypes.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cpukit/include/rtems/inttypes.h') diff --git a/cpukit/include/rtems/inttypes.h b/cpukit/include/rtems/inttypes.h index 4e6e98f507..5af23b22c7 100644 --- a/cpukit/include/rtems/inttypes.h +++ b/cpukit/include/rtems/inttypes.h @@ -127,8 +127,11 @@ extern "C" { /* rtems_signal_set is a typedef to uint32_t */ #define PRIxrtems_signal_set PRIx32 -/* newlib's ino_t is a typedef to "unsigned long" */ -#define PRIxino_t "lx" +/* newlib's ino_t is a typedef to __uint64_t */ +#define PRIuino_t PRIu64 + +/* newlib's ino_t is a typedef to __uint64_t */ +#define PRIxino_t PRIx64 /* ioctl_command_t */ #define PRIdioctl_command_t "ld" -- cgit v1.2.3