Ticket #3440: t3440_fix_compiler_warning.patch
File t3440_fix_compiler_warning.patch, 840 bytes (added by , 9 years ago) |
---|
-
source/ps/VisualReplay.cpp
inline int getReplayDuration(std::istrea 127 127 if (debugParser) 128 128 debug_printf("At position %i of %lu after %i lines reads.\n", currentPosition, fileSize, linesRead); 129 129 130 130 if (!replayStream->good()) 131 131 { 132 LOGERROR("Read error when determining replay duration at %i of %l u in %s", currentPosition - 2, fileSize, fileName.c_str());132 LOGERROR("Read error when determining replay duration at %i of %llu in %s", currentPosition - 2, fileSize, fileName.c_str()); 133 133 return -1; 134 134 } 135 135 136 136 // Found last turn, compute duration. 137 137 if ((u64) currentPosition + 4 < fileSize && (*replayStream >> type).good() && type == "turn")