diff options
| author | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:25:50 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2011-03-28 17:25:50 -0500 |
| commit | 3077404de4ce8efe5214f4dbf973421eebdf1181 (patch) | |
| tree | cf217b87600d18217a0e9561871746c11203328f | |
| parent | 7ef2b46a0ab99bbcdb56405dfeefaa0b5ea4ebdf (diff) | |
| parent | ad45bfe2d390eb94cf6d0e91b97c1db4bef2a2a9 (diff) | |
| download | cpython-git-3077404de4ce8efe5214f4dbf973421eebdf1181.tar.gz | |
merge 3.1
| -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 ac5188126c..7069b6e202 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(); |
