This commit is contained in:
jl777
2018-04-13 17:47:12 +03:00
parent f527fcdb97
commit e477852b1a

View File

@@ -4057,7 +4057,7 @@ FILE* OpenDiskFile(const CDiskBlockPos &pos, const char *prefix, bool fReadOnly)
fsize = ftell(file);
if ( fsize > incr )
{
char *ignore = malloc(incr);
char *ignore = (char *)malloc(incr);
if ( ignore != 0 )
{
rewind(file);