Merge pull request #8216 from orbea/32

Better warning fix for 32-bit linux.
This commit is contained in:
Twinaphex 2019-02-07 23:16:07 +01:00 committed by GitHub
commit 9e5a9baa66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1297,7 +1297,7 @@ RETRO_API bool VIDEOPROC_CORE_PREFIX(retro_load_game)(const struct retro_game_in
}
printf("Allocated %" PRI_SIZET " byte conversion buffer\n",
video_cap_width * video_cap_height * sizeof(uint32_t));
(size_t)(video_cap_width * video_cap_height) * sizeof(uint32_t));
pixel_format = RETRO_PIXEL_FORMAT_XRGB8888;
if (!VIDEOPROC_CORE_PREFIX(environment_cb)(RETRO_ENVIRONMENT_SET_PIXEL_FORMAT, &pixel_format))