[client] util: fix invalid pointer arithmatic
This commit is contained in:
1 parent
cf51503a54
commit
a28deae569
1 file changed
+1
-1
+1
-1
@@ -80,7 +80,7 @@ bool util_fileGetContents(const char * filename, char ** buffer, size_t * length
|
||||
}
|
||||
|
||||
fclose(fh);
|
||||
*buffer[fsize] = 0;
|
||||
(*buffer)[fsize] = 0;
|
||||
*length = fsize;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user