mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
commit
b93c21091b
@ -358,7 +358,7 @@ bool egl_init_context(egl_ctx_data_t *egl,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
configs = malloc(*count * sizeof(*configs));
|
configs = (EGLConfig*)malloc(*count * sizeof(*configs));
|
||||||
if (!configs)
|
if (!configs)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@ -543,8 +543,8 @@ static void udev_joypad_poll(void)
|
|||||||
/* Used for sorting devnodes to appear in the correct order */
|
/* Used for sorting devnodes to appear in the correct order */
|
||||||
static int sort_devnodes(const void *a, const void *b)
|
static int sort_devnodes(const void *a, const void *b)
|
||||||
{
|
{
|
||||||
const struct joypad_udev_entry *aa = a;
|
const struct joypad_udev_entry *aa = (const struct joypad_udev_entry*)a;
|
||||||
const struct joypad_udev_entry *bb = b;
|
const struct joypad_udev_entry *bb = (const struct joypad_udev_entry*)b;
|
||||||
return strcmp(aa->devnode, bb->devnode);
|
return strcmp(aa->devnode, bb->devnode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user