Fix compiler warning on amd64. We can't use zd here since this is
ultimately going to snprintf() not the python string formatter. Right?
diff --git a/Python/getargs.c b/Python/getargs.c
index 273cb43..530dffb 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -277,14 +277,14 @@
if (message == NULL) {
PyOS_snprintf(msgbuf, sizeof(msgbuf),
"%.150s%s takes %s %d argument%s "
- "(%d given)",
+ "(%ld given)",
fname==NULL ? "function" : fname,
fname==NULL ? "" : "()",
min==max ? "exactly"
: len < min ? "at least" : "at most",
len < min ? min : max,
(len < min ? min : max) == 1 ? "" : "s",
- len);
+ (long)len);
message = msgbuf;
}
PyErr_SetString(PyExc_TypeError, message);