mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Another warning fix
This commit is contained in:
parent
4ee45304b0
commit
cd9ea1f44b
@ -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…
x
Reference in New Issue
Block a user