diff options
author | Armin Rigo <arigo@tunes.org> | 2012-07-28 13:03:38 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2012-07-28 13:03:38 +0200 |
commit | 7371d496bcd6c2803822ced2c99a182202e9ff26 (patch) | |
tree | 301f57c54b737fb785a4cb095c2569d4e9464a73 /demo/_curses.py | |
parent | 4b742387abadeb921d08b0b353e5c33bef489ccb (diff) | |
download | cffi-7371d496bcd6c2803822ced2c99a182202e9ff26.tar.gz |
Bah. Fix the demos for the updated way of 'ffi.new()'.
Diffstat (limited to 'demo/_curses.py')
-rw-r--r-- | demo/_curses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/_curses.py b/demo/_curses.py index 369c63c..4b81b1f 100644 --- a/demo/_curses.py +++ b/demo/_curses.py @@ -210,7 +210,7 @@ def setupterm(term=ffi.NULL, fd=-1): if fd < 0: import sys fd = sys.stdout.fileno() - err = ffi.new("int") + err = ffi.new("int *") if lib.setupterm(term, fd, err) == ERR: if err[0] == 0: s = "setupterm: could not find terminal" |