diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-01-04 01:02:25 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-01-04 01:02:25 (GMT) |
commit | 506a224688fae06e8b30d88c4db36306788c6eb2 (patch) | |
tree | b2fd323e6a1526251fb2dc8f20b749b509e668e5 | |
parent | bf43f8af3500dfd98a46551942bf4a7ae4dad976 (diff) | |
download | cpython-506a224688fae06e8b30d88c4db36306788c6eb2.zip cpython-506a224688fae06e8b30d88c4db36306788c6eb2.tar.gz cpython-506a224688fae06e8b30d88c4db36306788c6eb2.tar.bz2 |
Fix compiler warning
-rw-r--r-- | Modules/datetimemodule.c | 2 |
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; |