]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] fix stbi scan-build warning
authorMichael Jerris <mike@signalwire.com>
Fri, 5 Jun 2020 22:05:34 +0000 (22:05 +0000)
committerAndrey Volk <andywolk@gmail.com>
Sat, 23 Oct 2021 19:00:06 +0000 (22:00 +0300)
libs/stb/stb_image.h

index 2857f05d3858cc45ca66cbfa4674d66d6a1b938a..0ea47afd9fa788f54f942349de6ee5652f27106a 100644 (file)
@@ -602,7 +602,7 @@ typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1];
 #ifdef _MSC_VER
 #define STBI_NOTUSED(v)  (void)(v)
 #else
-#define STBI_NOTUSED(v)  (void)sizeof(v)
+#define STBI_NOTUSED(v)  (void)(v)
 #endif
 
 #ifdef _MSC_VER