Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r92624:8103736dfa9f
Date: 2017-10-06 14:02 +0200
http://bitbucket.org/pypy/pypy/changeset/8103736dfa9f/

Log:    Fix for get_wch() on platforms where wint_t != int

diff --git a/lib_pypy/_curses.py b/lib_pypy/_curses.py
--- a/lib_pypy/_curses.py
+++ b/lib_pypy/_curses.py
@@ -404,7 +404,7 @@
         return val
 
     def get_wch(self, *args):
-        wch = ffi.new("int[1]")
+        wch = ffi.new("wint_t[1]")
         if len(args) == 0:
             val = lib.wget_wch(self._win, wch)
         elif len(args) == 2:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to