summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-27 15:53:49 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-27 15:53:49 (GMT)
commit622e05a06490efddd4380b897ba67e82a2c96c53 (patch)
treecc2caa9dc234071fdc3e444a3d5bf783286dbd7f /Objects
parent9ba83c50f40370a3dd50d5acd15856e7001287b4 (diff)
downloadcpython-622e05a06490efddd4380b897ba67e82a2c96c53.zip
cpython-622e05a06490efddd4380b897ba67e82a2c96c53.tar.gz
cpython-622e05a06490efddd4380b897ba67e82a2c96c53.tar.bz2
Silence compiler warning
Diffstat (limited to 'Objects')
-rw-r--r--Objects/stringlib/formatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h
index df29158..d8e66a6 100644
--- a/Objects/stringlib/formatter.h
+++ b/Objects/stringlib/formatter.h
@@ -31,7 +31,7 @@ unknown_presentation_type(STRINGLIB_CHAR presentation_type,
PyErr_Format(PyExc_ValueError,
"Unknown format code '%c' "
"for object of type '%.200s'",
- presentation_type,
+ (char)presentation_type,
type_name);
#if STRINGLIB_IS_UNICODE
else