From: Serhiy Storchaka Date: Sat, 19 Oct 2013 07:45:48 +0000 (+0300) Subject: Fix compilation of the curses module (broken by issue #16612). X-Git-Tag: v3.4.0a4~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a412f763b36250cc8c9c521a7c9a7e3a2a3ba58c;p=thirdparty%2FPython%2Fcpython.git Fix compilation of the curses module (broken by issue #16612). --- diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index c61f67f07453..1f192dc73c8b 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -676,7 +676,7 @@ curses_window_addch_impl(PyObject *self, int group_left_1, int x, int y, PyObjec } else #else - type = PyCurses_ConvertToCchar_t(cwself, chobj, &cch); + type = PyCurses_ConvertToCchar_t(cwself, ch, &cch); #endif if (type == 1) { funcname = "addch";