git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e6578e7
)
fix compiler warning "suggest parentheses around assignment used as truth
author
Philip Kaufmann
<phil.kaufmann@t-online.de>
Mon, 30 Apr 2012 23:46:03 +0000 (
01:46
+0200)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Wed, 2 May 2012 03:11:56 +0000 (23:11 -0400)
value [-Wparentheses]" in util.cpp
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
a45d191
..
766c3ab
100644
(file)
--- 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;