fix warnings on 32 bit builds
[oweals/openssl.git] / include / openssl / e_os2.h
index 04e1c05d8a6c858d36ad01f18180baa8e6cff4d4..519b8ce65ad1142e1f97b554a685ee702784b6db 100644 (file)
@@ -317,7 +317,11 @@ typedef unsigned __int64 uint64_t;
  * isn't available or did not define it, just go with hard-coded.
  */
 # ifndef PRIu64
-#  define PRIu64 "lu"
+#  ifdef SIXTY_FOUR_BIT_LONG
+#   define PRIu64 "lu"
+#  else
+#   define PRIu64 "llu"
+#  endif
 # endif
 
 /* ossl_inline: portable inline definition usable in public headers */