From 0cc6060b77bf6312c730952644ddb46fa07dbffc Mon Sep 17 00:00:00 2001 From: Rafael Sachetto Date: Wed, 27 Jan 2021 15:05:48 -0300 Subject: [PATCH] Fix compilation warnings in the s390x architeture. Fixes #1082. --- stb_sprintf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_sprintf.h b/stb_sprintf.h index cbe7868..7396760 100644 --- a/stb_sprintf.h +++ b/stb_sprintf.h @@ -224,7 +224,7 @@ STBSP__PUBLICDEF void STB_SPRINTF_DECORATE(set_separators)(char comma, char peri #define stbsp__uint16 unsigned short #ifndef stbsp__uintptr -#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) +#if defined(__ppc64__) || defined(__powerpc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) || defined(__s390x__) #define stbsp__uintptr stbsp__uint64 #else #define stbsp__uintptr stbsp__uint32