fix compiler warning "suggest parentheses around assignment used as truth
[novacoin.git] / src / util.cpp
index a45d191..766c3ab 100644 (file)
@@ -236,7 +236,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;