summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-03-28 22:26:04 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-03-28 22:26:04 (GMT)
commitfe55783505943538f0f0edb8238c0d709190a29e (patch)
tree95d979a090cc84925d2eeb71b417fa2ac6c3edcb /Modules
parentc831a919318c54b1f72d071247595cdcd39774a5 (diff)
parent3077404de4ce8efe5214f4dbf973421eebdf1181 (diff)
downloadcpython-fe55783505943538f0f0edb8238c0d709190a29e.zip
cpython-fe55783505943538f0f0edb8238c0d709190a29e.tar.gz
cpython-fe55783505943538f0f0edb8238c0d709190a29e.tar.bz2
merge 3.2
Diffstat (limited to 'Modules')
-rw-r--r--Modules/getbuildinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c
index f07b5f8..0971a64 100644
--- a/Modules/getbuildinfo.c
+++ b/Modules/getbuildinfo.c
@@ -34,9 +34,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();