From 284115208cff135d8798e5a5c33eb640746022fe Mon Sep 17 00:00:00 2001 From: Aurelien Bouteiller Date: Tue, 4 Mar 2008 22:30:35 +0000 Subject: [PATCH] Try to blindly solve warning about size_t printf format, as I can't reproduce the warning on my machines. This commit was SVN r17701. --- opal/include/opal_stdint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opal/include/opal_stdint.h b/opal/include/opal_stdint.h index 2ba8f53295..10f098358c 100644 --- a/opal/include/opal_stdint.h +++ b/opal/include/opal_stdint.h @@ -312,14 +312,14 @@ typedef unsigned long long uintptr_t; #ifndef PRIsize_t # if defined(ACCEPT_C99) # define PRIsize_t "zu" +# elif SIZEOF_SIZE_T == SIZEOF_INT +# define PRIsize_t "u" # elif SIZEOF_SIZE_T == SIZEOF_LONG # define PRIsize_t "lu" # elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG # define PRIsize_t "llu" -# elif SIZEOF_SIZE_T == SIZEOF_INT -# define PRIsize_t "u" # endif -#endif +#endif #endif /* OPAL_STDINT_H */