From 622e05a06490efddd4380b897ba67e82a2c96c53 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 27 Sep 2009 15:53:49 +0000 Subject: Silence compiler warning --- Objects/stringlib/formatter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12