From afa2a96085cb4f5e7be67331f3a0a6f35c67cd4f Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 3 Jul 2016 09:30:47 +0200 Subject: [PATCH] Apply patch from Ambroz Bizjak: I think that "#define SZT_F PRIuPTR" has a much better chance of being right, making the assumption that uintptr_t is the same as size_t. Dirk: I think Ambroz is right. --- src/include/lwip/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/arch.h b/src/include/lwip/arch.h index 6b541d89..41b123f6 100644 --- a/src/include/lwip/arch.h +++ b/src/include/lwip/arch.h @@ -106,7 +106,7 @@ typedef uintptr_t mem_ptr_t; #define X32_F PRIx32 #endif #ifndef SZT_F -#define SZT_F PRIuMAX +#define SZT_F PRIuPTR #endif #endif