Browse Source

fix compiler warning "suggest parentheses around assignment used as truth

value [-Wparentheses]" in util.cpp
0.8
Philip Kaufmann 13 years ago
parent
commit
1c94f88d5e
  1. 2
      src/util.cpp

2
src/util.cpp

@ -252,7 +252,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...) @@ -252,7 +252,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
*pend = '\0';
char* p1 = pszBuffer;
char* p2;
while (p2 = strchr(p1, '\n'))
while ((p2 = strchr(p1, '\n')))
{
p2++;
char c = *p2;

Loading…
Cancel
Save