]> granicus.if.org Git - python/commitdiff
Fix compiler warning
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 4 Jan 2003 01:02:25 +0000 (01:02 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 4 Jan 2003 01:02:25 +0000 (01:02 +0000)
Modules/datetimemodule.c

index 2c75de8180d069e341982fc8b8585502901a8ef0..c88251e4dd3211d3824f4dc9c3e97ab78f2576fd 100644 (file)
@@ -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;