Merge branch '0.5.x' into 0.6.0.x
[novacoin.git] / src / util.cpp
index 039c482..bfc0eb8 100644 (file)
@@ -237,7 +237,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;