diff --git a/source/build/include/sdlayer.h b/source/build/include/sdlayer.h index c31ecc361..15e6141b6 100644 --- a/source/build/include/sdlayer.h +++ b/source/build/include/sdlayer.h @@ -27,7 +27,7 @@ int32_t SDL_WaitEventTimeout(SDL_Event *event, int32_t timeout); #define SDL_GL_ATTRIBUTES(iter, attrib) \ for (iter = 0; iter < (int32_t)ARRAY_SIZE(attrib); iter++) \ { \ - j = attrib[iter].value; \ + int32_t j = attrib[iter].value; \ if (!multisamplecheck && \ (attrib[iter].attr == SDL_GL_MULTISAMPLEBUFFERS || attrib[iter].attr == SDL_GL_MULTISAMPLESAMPLES)) \ { \