diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-05-01 01:46:03 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-05-01 23:11:56 -0400 |
commit | 48984829151d76fefb62029e500145d7e4f19a8d (patch) | |
tree | f51fa8aea4dcefd14757b1ca01153a96f86d1525 /src | |
parent | e6578e7fa7385dde7a0de9c2e87d8c0afa176314 (diff) | |
download | bitcoin-48984829151d76fefb62029e500145d7e4f19a8d.tar.xz |
fix compiler warning "suggest parentheses around assignment used as truth
value [-Wparentheses]" in util.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
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; |