Author: Brian Kearns <[email protected]>
Branch:
Changeset: r62992:eaa86aa10390
Date: 2013-04-03 17:09 -0400
http://bitbucket.org/pypy/pypy/changeset/eaa86aa10390/
Log: merge heads
diff --git a/lib_pypy/_curses.py b/lib_pypy/_curses.py
--- a/lib_pypy/_curses.py
+++ b/lib_pypy/_curses.py
@@ -1328,7 +1328,7 @@
def tigetstr(capname):
_ensure_initialised_setupterm()
val = lib.tigetstr(capname)
- if val in (0, -1, ffi.NULL):
+ if int(ffi.cast("intptr_t", val)) in (0, -1):
return None
return ffi.string(val)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit