mirror of
https://github.com/libretro/RetroArch
synced 2025-02-17 06:40:57 +00:00
(android_input.c) Fix usage of signed/unsigned
This caused a segmentation failure in android_keyboard_state_get()
This commit is contained in:
parent
fadeb4b3e4
commit
1cd0a0ff0a
@ -579,7 +579,7 @@ static int android_input_get_id_index_from_name(android_input_data_t *android_da
|
||||
}
|
||||
|
||||
static void handle_hotplug(android_input_data_t *android_data,
|
||||
struct android_app *android_app, unsigned *port, unsigned id,
|
||||
struct android_app *android_app, int *port, int id,
|
||||
int source)
|
||||
{
|
||||
char device_name[256] = {0};
|
||||
@ -818,7 +818,7 @@ static void android_input_poll_input(void *data)
|
||||
|
||||
if (port < 0)
|
||||
handle_hotplug(android_data, android_app,
|
||||
&android_data->pads_connected, id, source);
|
||||
&port, id, source);
|
||||
|
||||
switch (type_event)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user