summaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorleo1999-12-18 18:02:33 +0000
committerleo1999-12-18 18:02:33 +0000
commit03d1428a293c9abdddfed2d5faa1984901932384 (patch)
tree00199b68073d52ffaef9fd8c51911cac57224a96 /common/file.cpp
parent7182eed5eb607a2cdd6d8aaae4e893044339cbe1 (diff)
Changed warning level to -Wall under Linux and Level 4 for Windows
git-svn-id: http://svn.leocad.org/trunk@37 c7d43263-9d01-0410-8a33-9dba5d9f93d6
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;