let's keep parenthesis around sizeof
This commit is contained in:
parent
9b2e67c4fa
commit
ad45bfe2d3
|
@ -42,9 +42,9 @@
|
||||||
const char *
|
const char *
|
||||||
Py_GetBuildInfo(void)
|
Py_GetBuildInfo(void)
|
||||||
{
|
{
|
||||||
static char buildinfo[50 + sizeof HGVERSION +
|
static char buildinfo[50 + sizeof(HGVERSION) +
|
||||||
((sizeof HGTAG > sizeof HGBRANCH) ?
|
((sizeof(HGTAG) > sizeof(HGBRANCH)) ?
|
||||||
sizeof HGTAG : sizeof HGBRANCH)];
|
sizeof(HGTAG) : sizeof(HGBRANCH))];
|
||||||
const char *revision = _Py_hgversion();
|
const char *revision = _Py_hgversion();
|
||||||
const char *sep = *revision ? ":" : "";
|
const char *sep = *revision ? ":" : "";
|
||||||
const char *hgid = _Py_hgidentifier();
|
const char *hgid = _Py_hgidentifier();
|
||||||
|
|
Loading…
Reference in New Issue