diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-03-28 22:26:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-03-28 22:26:04 (GMT) |
commit | fe55783505943538f0f0edb8238c0d709190a29e (patch) | |
tree | 95d979a090cc84925d2eeb71b417fa2ac6c3edcb /Modules | |
parent | c831a919318c54b1f72d071247595cdcd39774a5 (diff) | |
parent | 3077404de4ce8efe5214f4dbf973421eebdf1181 (diff) | |
download | cpython-fe55783505943538f0f0edb8238c0d709190a29e.zip cpython-fe55783505943538f0f0edb8238c0d709190a29e.tar.gz cpython-fe55783505943538f0f0edb8238c0d709190a29e.tar.bz2 |
merge 3.2
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/getbuildinfo.c | 6 |
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(); |