summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
diff options
context:
space:
mode:
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 d39791a..488d062 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -4027,7 +4027,7 @@ datetime_str(PyDateTime_DateTime *self)
static PyObject *
datetime_isoformat(PyDateTime_DateTime *self, PyObject *args, PyObject *kw)
{
- char sep = 'T';
+ int sep = 'T';
static char *keywords[] = {"sep", NULL};
char buffer[100];
PyObject *result;