summaryrefslogtreecommitdiff
path: root/c/wchar_helper.h
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-05-31 16:57:26 +0200
committerArmin Rigo <arigo@tunes.org>2017-05-31 16:57:26 +0200
commit95860d46cb606a917e57e64bf160152bf32f36a1 (patch)
tree0224aca84ff1f287906e58cc62e574f6f6d79332 /c/wchar_helper.h
parent73b89aa81ec2ab379f27cdeb75cdb710fb4b24eb (diff)
downloadcffi-95860d46cb606a917e57e64bf160152bf32f36a1.tar.gz
fixes
Diffstat (limited to 'c/wchar_helper.h')
-rw-r--r--c/wchar_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/wchar_helper.h b/c/wchar_helper.h
index ba7fe21..7f13d34 100644
--- a/c/wchar_helper.h
+++ b/c/wchar_helper.h
@@ -134,7 +134,7 @@ _my_PyUnicode_AsSingleChar16(PyObject *unicode, cffi_char16_t *result,
#if Py_UNICODE_SIZE == 4
if (((unsigned int)u[0]) > 0xFFFF)
{
- sprintf(err_got, "unicode character too large for 16 bits");
+ sprintf(err_got, "larger-than-0xFFFF character");
return -1;
}
#endif