From: Mark Dickinson Date: Sun, 27 Sep 2009 15:53:49 +0000 (+0000) Subject: Silence compiler warning X-Git-Tag: v2.6.3rc1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=622e05a06490efddd4380b897ba67e82a2c96c53;p=python Silence compiler warning --- diff --git a/Objects/stringlib/formatter.h b/Objects/stringlib/formatter.h index df291584e7..d8e66a6c8f 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