Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ef2b46 + ad45bfe commit 3077404Copy full SHA for 3077404
1 file changed
Modules/getbuildinfo.c
@@ -42,9 +42,9 @@
42
const char *
43
Py_GetBuildInfo(void)
44
{
45
- static char buildinfo[50 + sizeof HGVERSION +
46
- ((sizeof HGTAG > sizeof HGBRANCH) ?
47
- sizeof HGTAG : sizeof HGBRANCH)];
+ static char buildinfo[50 + sizeof(HGVERSION) +
+ ((sizeof(HGTAG) > sizeof(HGBRANCH)) ?
+ sizeof(HGTAG) : sizeof(HGBRANCH))];
48
const char *revision = _Py_hgversion();
49
const char *sep = *revision ? ":" : "";
50
const char *hgid = _Py_hgidentifier();
0 commit comments