persing minus sign and exponents for numeric values
This commit is contained in:
+2
-1
@@ -23,7 +23,8 @@ char *load_file(const char *path, int *len)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if(fread(data, 1, len_, fp) != len_)
|
||||
assert(len_ >= 0);
|
||||
if(fread(data, 1, len_, fp) != (unsigned int) len_)
|
||||
{
|
||||
free(data);
|
||||
fclose(fp);
|
||||
|
||||
Reference in New Issue
Block a user