From 877c1d781f5b445980e75e49714bf4a12231e1eb Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 30 Jul 2024 10:39:48 -0700 Subject: [PATCH] Fix bad C89 XSNPRINTF remap. --- wolfssl/wolfcrypt/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index b907e9248..8e4b0aa35 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -832,7 +832,7 @@ typedef struct w64wrapper { #include #define XSPRINTF sprintf /* snprintf not available for C89, so remap using macro */ - #define XSNPRINTF(f, len, ...) sprintf(f, ...) + #define XSNPRINTF(f, len, ...) sprintf(f, __VA_ARGS__) #else #include #define XSNPRINTF snprintf