From 506a224688fae06e8b30d88c4db36306788c6eb2 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 4 Jan 2003 01:02:25 +0000 Subject: [PATCH] Fix compiler warning --- Modules/datetimemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 2c75de8180..c88251e4dd 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c @@ -683,7 +683,7 @@ call_utc_tzinfo_method(PyObject *tzinfo, char *name, PyObject *tzinfoarg, Py_DECREF(u); if (result < -1439 || result > 1439) { PyErr_Format(PyExc_ValueError, - "tzinfo.%s() returned %ld; must be in " + "tzinfo.%s() returned %d; must be in " "-1439 .. 1439", name, result); result = -1; -- 2.40.0