aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-01 01:46:03 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-05-01 23:11:56 -0400
commit48984829151d76fefb62029e500145d7e4f19a8d (patch)
treef51fa8aea4dcefd14757b1ca01153a96f86d1525 /src/util.cpp
parente6578e7fa7385dde7a0de9c2e87d8c0afa176314 (diff)
downloadbitcoin-48984829151d76fefb62029e500145d7e4f19a8d.tar.xz
fix compiler warning "suggest parentheses around assignment used as truth
value [-Wparentheses]" in util.cpp
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 a45d19156f..766c3ab447 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -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;