mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-13 08:17:52 +00:00
fix compiler warning "suggest parentheses around assignment used as truth
value [-Wparentheses]" in util.cpp
This commit is contained in:
parent
f8e4d43be7
commit
1c94f88d5e
@ -252,7 +252,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
|
|||||||
*pend = '\0';
|
*pend = '\0';
|
||||||
char* p1 = pszBuffer;
|
char* p1 = pszBuffer;
|
||||||
char* p2;
|
char* p2;
|
||||||
while (p2 = strchr(p1, '\n'))
|
while ((p2 = strchr(p1, '\n')))
|
||||||
{
|
{
|
||||||
p2++;
|
p2++;
|
||||||
char c = *p2;
|
char c = *p2;
|
||||||
|
Loading…
Reference in New Issue
Block a user