From 091df682cd54a29026fba7c505d58dba56bfaadf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 May 2017 03:40:01 +0200 Subject: [PATCH] Silence warning --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 4589a81..094264b 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -300,7 +300,7 @@ bool retro_load_game(const struct retro_game_info *info) GB_set_vblank_callback(&gb, (GB_vblank_callback_t) vblank); GB_set_user_data(&gb, (void*)NULL); - GB_set_pixels_output(&gb,(unsigned char *) frame_buf); + GB_set_pixels_output(&gb,(unsigned int*)frame_buf); GB_set_rgb_encode_callback(&gb, rgb_encode); size_t path_length = strlen(retro_game_path);