aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-05-01 15:02:41 -0700
committerJeff Garzik <[email protected]>2012-05-01 15:02:41 -0700
commitca97bde8ff53f2604d601061af1f0ff6e2a37487 (patch)
tree6eb856be2653fb54bcc642c9dc8fc60a03d96131 /src/util.cpp
parentMerge pull request #1176 from Diapolo/project-file (diff)
parentfix compiler warning "suggest parentheses around assignment used as truth (diff)
downloaddiscoin-ca97bde8ff53f2604d601061af1f0ff6e2a37487.tar.xz
discoin-ca97bde8ff53f2604d601061af1f0ff6e2a37487.zip
Merge pull request #1171 from Diapolo/fix_compiler_warn
fix 2 compiler warnings
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index cd3d3b94a..3569f22ec 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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;