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.
1 parent 9b2e67c commit ad45bfeCopy full SHA for ad45bfe
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