(MSVC) Build fixes

This commit is contained in:
twinaphex 2015-02-25 07:52:54 +01:00
parent 3fe85d150b
commit 529c2625e7

View File

@ -137,7 +137,7 @@ static int cb_image_menu_wallpaper(void *data, size_t len)
uint32_t **pixels = &ti.pixels;
unsigned *width = &ti.width;
unsigned *height = &ti.height;
nbio_handle_t *nbio = data;
nbio_handle_t *nbio = (nbio_handle_t*)data;
if (!nbio || !data)
return -1;
@ -165,7 +165,7 @@ static int cb_image_menu_wallpaper(void *data, size_t len)
static int cb_nbio_image_menu_wallpaper(void *data, size_t len)
{
void *ptr = NULL;
nbio_handle_t *nbio = data;
nbio_handle_t *nbio = (nbio_handle_t*)data;
if (!nbio || !data)
return -1;