Commit a1f63b00 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix implicit conversion in file_list_new.

parent f0da5700
......@@ -190,7 +190,7 @@ void file_list_new(void)
{
assert(_fileList == NULL);
_fileList = (filePtrToIdx *) malloc(_file_max*sizeof(filePtrToIdx));
_fileList = (filePtrToIdx *)xmalloc((size_t)_file_max * sizeof (filePtrToIdx));
}
static
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment