summaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 598d352..d64b4fa 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -63,7 +63,7 @@ char* FileMem::ReadString(char* pBuf, unsigned long nMax)
if (m_nPosition >= m_nFileSize)
return NULL;
- while (--nMax)
+ while ((--nMax))
{
if (m_nPosition == m_nFileSize)
break;