mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-11 06:25:26 +00:00
Fix CXX_BUILD errors.
This commit is contained in:
parent
63ba60ae1a
commit
ff2e3bbbce
@ -358,7 +358,7 @@ bool egl_init_context(egl_ctx_data_t *egl,
|
||||
return false;
|
||||
}
|
||||
|
||||
configs = malloc(*count * sizeof(*configs));
|
||||
configs = (EGLConfig*)malloc(*count * sizeof(*configs));
|
||||
if (!configs)
|
||||
return false;
|
||||
|
||||
|
@ -543,8 +543,8 @@ static void udev_joypad_poll(void)
|
||||
/* Used for sorting devnodes to appear in the correct order */
|
||||
static int sort_devnodes(const void *a, const void *b)
|
||||
{
|
||||
const struct joypad_udev_entry *aa = a;
|
||||
const struct joypad_udev_entry *bb = b;
|
||||
const struct joypad_udev_entry *aa = (const struct joypad_udev_entry*)a;
|
||||
const struct joypad_udev_entry *bb = (const struct joypad_udev_entry*)b;
|
||||
return strcmp(aa->devnode, bb->devnode);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user