[Python-checkins] cpython: Fix compilation of the curses module (broken by issue #16612).

serhiy.storchaka python-checkins at python.org
Sat Oct 19 09:47:11 CEST 2013


http://hg.python.org/cpython/rev/47618b00405b
changeset:   86466:47618b00405b
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Sat Oct 19 10:45:48 2013 +0300
summary:
  Fix compilation of the curses module (broken by issue #16612).

files:
  Modules/_cursesmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -676,7 +676,7 @@
     }
     else
 #else
-    type = PyCurses_ConvertToCchar_t(cwself, chobj, &cch);
+    type = PyCurses_ConvertToCchar_t(cwself, ch, &cch);
 #endif
     if (type == 1) {
         funcname = "addch";

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list