From: Victor Stinner <vstinner@wyplay.com> Date: Fri, 4 Nov 2011 08:49:24 +0000 (+0100) Subject: Issue #12342: Fix compilation on Mac OS X X-Git-Tag: v3.3.0a1~953 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d7acb08c43f0319b200c967b009e926daa97222;p=python Issue #12342: Fix compilation on Mac OS X --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f42f068bb3..abbe0ec7bb 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -993,7 +993,7 @@ AsObj(PyObject *value) PyErr_Format(PyExc_ValueError, "character U+%x is above the range " "(U+0000-U+FFFF) allowed by Tcl", - inbuf[i]); + ch); ckfree(FREECAST outbuf); return NULL; #endif