[Python-checkins] r75083 - python/branches/release26-maint/Objects/stringlib/formatter.h
mark.dickinson
python-checkins at python.org
Sun Sep 27 17:53:49 CEST 2009
Author: mark.dickinson
Date: Sun Sep 27 17:53:49 2009
New Revision: 75083
Log:
Silence compiler warning
Modified:
python/branches/release26-maint/Objects/stringlib/formatter.h
Modified: python/branches/release26-maint/Objects/stringlib/formatter.h
==============================================================================
--- python/branches/release26-maint/Objects/stringlib/formatter.h (original)
+++ python/branches/release26-maint/Objects/stringlib/formatter.h Sun Sep 27 17:53:49 2009
@@ -31,7 +31,7 @@
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
More information about the Python-checkins
mailing list