summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-04 01:02:25 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-04 01:02:25 (GMT)
commit506a224688fae06e8b30d88c4db36306788c6eb2 (patch)
treeb2fd323e6a1526251fb2dc8f20b749b509e668e5 /Modules/datetimemodule.c
parentbf43f8af3500dfd98a46551942bf4a7ae4dad976 (diff)
downloadcpython-506a224688fae06e8b30d88c4db36306788c6eb2.zip
cpython-506a224688fae06e8b30d88c4db36306788c6eb2.tar.gz
cpython-506a224688fae06e8b30d88c4db36306788c6eb2.tar.bz2
Fix compiler warning
Diffstat (limited to 'Modules/datetimemodule.c')
-rw-r--r--Modules/datetimemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index 2c75de8..c88251e 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;