diff --git a/cores/libretro-gong/gong.c b/cores/libretro-gong/gong.c index 07ff168050..56e74f5208 100644 --- a/cores/libretro-gong/gong.c +++ b/cores/libretro-gong/gong.c @@ -386,7 +386,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;