diff --git a/cores/libretro-gong/gong.c b/cores/libretro-gong/gong.c index 9d2b3c91b4..d1a481fa8f 100644 --- a/cores/libretro-gong/gong.c +++ b/cores/libretro-gong/gong.c @@ -387,7 +387,7 @@ void GONG_CORE_PREFIX(retro_init)(void) else GONG_CORE_PREFIX(log_cb) = NULL; - video_buf = (unsigned char*)calloc(1, WIDTH * HEIGHT * sizeof(unsigned char)); + video_buf = (unsigned char*)calloc(1, WIDTH * HEIGHT * sizeof(unsigned)); game_buffer.width = WIDTH; game_buffer.height = HEIGHT;