mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Another warning fix
This commit is contained in:
parent
4ee45304b0
commit
cd9ea1f44b
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ rxml_document_t *rxml_load_document(const char *path)
|
|||
return NULL;
|
||||
|
||||
len = filestream_get_size(file);
|
||||
memory_buffer = (char*)malloc(len + 1);
|
||||
memory_buffer = (char*)malloc((size_t)(len + 1));
|
||||
if (!memory_buffer)
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue