Another warning fix

This commit is contained in:
twinaphex 2020-08-01 18:16:19 +02:00
parent 4ee45304b0
commit cd9ea1f44b

View File

@ -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;