diff --git a/test/testpaint/intercept_2.cpp b/test/testpaint/intercept_2.cpp index 44d30e70e2..47db93ee5d 100644 --- a/test/testpaint/intercept_2.cpp +++ b/test/testpaint/intercept_2.cpp @@ -470,7 +470,7 @@ namespace Intercept2 return true; } - static sint16 getTunnelOffset(uint baseHeight, tunnel_entry calls[3]) + static sint16 getTunnelOffset(uint32 baseHeight, tunnel_entry calls[3]) { for (sint16 offset = -56; offset <= 56; offset += 8) { if (calls[0].height != (baseHeight - 8 + offset) / 16) continue; diff --git a/test/testpaint/testpaint.vcxproj b/test/testpaint/testpaint.vcxproj index e3350e01d9..94cf7fbaf2 100644 --- a/test/testpaint/testpaint.vcxproj +++ b/test/testpaint/testpaint.vcxproj @@ -62,6 +62,7 @@ true $(OpenRCT2_DEFINES);DEBUG;NO_VEHICLES;OPENGL_NO_LINK;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;CURL_STATICLIB;SDL_MAIN_HANDLED;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions) true + 4200 @@ -73,6 +74,7 @@ true $(OpenRCT2_DEFINES);NO_VEHICLES;OPENGL_NO_LINK;_CRT_SECURE_NO_WARNINGS;_USE_MATH_DEFINES;CURL_STATICLIB;SDL_MAIN_HANDLED;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions) true + 4200 true