mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Fix CXX_BUILD
This commit is contained in:
parent
380812f83e
commit
bb8636862f
@ -2199,7 +2199,8 @@ static struct retro_core_option_definition *core_option_manager_get_definitions(
|
||||
* > One extra entry required for terminating NULL entry
|
||||
* > Note that calloc() sets terminating NULL entry and
|
||||
* correctly 'nullifies' each values array */
|
||||
option_defs = calloc(num_options + 1, sizeof(struct retro_core_option_definition));
|
||||
option_defs = (struct retro_core_option_definition *)calloc(
|
||||
num_options + 1, sizeof(struct retro_core_option_definition));
|
||||
|
||||
if (!option_defs)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user