mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- a few more fixes found using cppcheck
This commit is contained in:
@@ -617,7 +617,7 @@ pair<bool,time_t> hasCachedFileCRCValue(string crcCacheFile, int32 &value) {
|
||||
time_t refreshDate = 0;
|
||||
int32 crcValue = 0;
|
||||
time_t lastUpdateDate = 0;
|
||||
int readbytes = fscanf(fp,"%ld,%d,%ld",&refreshDate,&crcValue,&lastUpdateDate);
|
||||
int readbytes = fscanf(fp,"%20ld,%20d,%20ld",&refreshDate,&crcValue,&lastUpdateDate);
|
||||
fclose(fp);
|
||||
|
||||
result.second = lastUpdateDate;
|
||||
|
Reference in New Issue
Block a user