From: Julian Seward Date: Sun, 30 Jan 2005 19:51:00 +0000 (+0000) Subject: Fix somewhat dubious-look parentheses (I'm sure it was OK, but still X-Git-Tag: svn/VALGRIND_3_0_1^2~556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b9e38ecdfd4f586fbb447b85042fed3159e55d94;p=thirdparty%2Fvalgrind.git Fix somewhat dubious-look parentheses (I'm sure it was OK, but still ...) git-svn-id: svn://svn.valgrind.org/vex/trunk@778 --- diff --git a/VEX/priv/main/vex_util.c b/VEX/priv/main/vex_util.c index 5fe1b35664..3cac891ad2 100644 --- a/VEX/priv/main/vex_util.c +++ b/VEX/priv/main/vex_util.c @@ -286,7 +286,7 @@ myvprintf_int64 ( void(*send)(Char), Int flags, Int base, Int width, ULong p) buf[ind++] = '0'; else { while (p > 0) { - if (flags & VG_MSG_COMMA && 10 == base && + if ((flags & VG_MSG_COMMA) && 10 == base && 0 == (ind-nc) % 3 && 0 != ind) { buf[ind++] = ',';