Open Bxaa opened 3 years ago
Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp; -to- Uint8 *p = (Uint8 *)surface->pixels + static_cast<__int64>(y) * surface->pitch + static_cast<__int64>(x) * bpp;
Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp;
Uint8 *p = (Uint8 *)surface->pixels + static_cast<__int64>(y) * surface->pitch + static_cast<__int64>(x) * bpp;
ETC...
Hi, would you like to provide a pull request for this fix?
Uint8 *p = (Uint8 *)surface->pixels + y * surface->pitch + x * bpp;
-to-Uint8 *p = (Uint8 *)surface->pixels + static_cast<__int64>(y) * surface->pitch + static_cast<__int64>(x) * bpp;