diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:26:04 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:26:04 -0500 |
| commit | fe55783505943538f0f0edb8238c0d709190a29e (patch) | |
| tree | 95d979a090cc84925d2eeb71b417fa2ac6c3edcb /Modules | |
| parent | c831a919318c54b1f72d071247595cdcd39774a5 (diff) | |
| parent | 3077404de4ce8efe5214f4dbf973421eebdf1181 (diff) | |
| download | cpython-git-fe55783505943538f0f0edb8238c0d709190a29e.tar.gz | |
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 f07b5f8257..0971a64fcc 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(); |
