From 5ce1b0dbc0fbad355086882ebb54f1aebc6b7163 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 28 Sep 2011 20:29:27 +0200 Subject: [PATCH] Set Py_UNICODE_REPLACEMENT_CHARACTER type to Py_UCS4, instead of Py_UNICODE --- Include/unicodeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index b35a2411a27..dbd4fd8ad01 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -506,7 +506,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type; Unicode character U+FFFD is the official REPLACEMENT CHARACTER in Unicode 3.0. */ -#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UNICODE) 0xFFFD) +#define Py_UNICODE_REPLACEMENT_CHARACTER ((Py_UCS4) 0xFFFD) /* === Public API ========================================================= */