diff --git a/stb_image_write.h b/stb_image_write.h index 37ffc0d..3a75614 100644 --- a/stb_image_write.h +++ b/stb_image_write.h @@ -134,6 +134,8 @@ CREDITS: Patrick Boettcher github:xeekworx Cap Petschulat + Simon Rodriguez + Ivan Tikhonov LICENSE @@ -234,7 +236,7 @@ STBIWDEF void stbi_flip_vertically_on_write(int flip_boolean); #define STBIW_UCHAR(x) (unsigned char) ((x) & 0xff) #ifdef STB_IMAGE_WRITE_STATIC -static stbi__flip_vertically_on_write=0; +static int stbi__flip_vertically_on_write=0; static int stbi_write_png_compression_level = 8; static int stbi_write_tga_with_rle = 1; static int stbi_write_force_png_filter = -1;