mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-05 17:49:45 +00:00
(joypad_connection.c) Cleanups
This commit is contained in:
parent
e74d6e27ca
commit
0d50840749
@ -39,7 +39,7 @@ joypad_connection_t *pad_connection_init(unsigned pads)
|
||||
{
|
||||
unsigned i;
|
||||
joypad_connection_t *joyconn = (joypad_connection_t*)
|
||||
calloc(pads, sizeof(*joyconn));
|
||||
calloc(pads, sizeof(joypad_connection_t));
|
||||
|
||||
if (!joyconn)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user