Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3077404

Browse files
committed
merge 3.1
2 parents 7ef2b46 + ad45bfe commit 3077404

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/getbuildinfo.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
const char *
4343
Py_GetBuildInfo(void)
4444
{
45-
static char buildinfo[50 + sizeof HGVERSION +
46-
((sizeof HGTAG > sizeof HGBRANCH) ?
47-
sizeof HGTAG : sizeof HGBRANCH)];
45+
static char buildinfo[50 + sizeof(HGVERSION) +
46+
((sizeof(HGTAG) > sizeof(HGBRANCH)) ?
47+
sizeof(HGTAG) : sizeof(HGBRANCH))];
4848
const char *revision = _Py_hgversion();
4949
const char *sep = *revision ? ":" : "";
5050
const char *hgid = _Py_hgidentifier();

0 commit comments

Comments
 (0)