Author: Ronny Pfannschmidt <[email protected]>
Branch: 
Changeset: r541:080670db739a
Date: 2012-06-27 13:00 +0200
http://bitbucket.org/cffi/cffi/changeset/080670db739a/

Log:    fix another None -> ffi.NULL

diff --git a/demo/xclient.py b/demo/xclient.py
--- a/demo/xclient.py
+++ b/demo/xclient.py
@@ -27,7 +27,7 @@
     pass
 
 def main():
-    display = XOpenDisplay(None)
+    display = XOpenDisplay(ffi.NULL)
     if display == ffi.NULL:
         raise XError("cannot open display")
     w = XCreateSimpleWindow(display, DefaultRootWindow(display),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to