From: Benjamin Peterson Date: Mon, 28 Mar 2011 22:25:15 +0000 (-0500) Subject: let's keep parenthesis around sizeof X-Git-Tag: v3.2.1b1~192^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad45bfe2d390eb94cf6d0e91b97c1db4bef2a2a9;p=thirdparty%2FPython%2Fcpython.git let's keep parenthesis around sizeof --- diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c index ac5188126cdc..7069b6e202f1 100644 --- a/Modules/getbuildinfo.c +++ b/Modules/getbuildinfo.c @@ -42,9 +42,9 @@ const char * Py_GetBuildInfo(void) { - static char buildinfo[50 + sizeof HGVERSION + - ((sizeof HGTAG > sizeof HGBRANCH) ? - sizeof HGTAG : sizeof HGBRANCH)]; + static char buildinfo[50 + sizeof(HGVERSION) + + ((sizeof(HGTAG) > sizeof(HGBRANCH)) ? + sizeof(HGTAG) : sizeof(HGBRANCH))]; const char *revision = _Py_hgversion(); const char *sep = *revision ? ":" : ""; const char *hgid = _Py_hgidentifier();