From: Victor Stinner 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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d7acb08c43f0319b200c967b009e926daa97222;p=thirdparty%2FPython%2Fcpython.git Issue #12342: Fix compilation on Mac OS X --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f42f068bb389..abbe0ec7bbc5 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