Author: tack
Date: Tue Jan 16 15:43:41 2007
New Revision: 2407

Modified:
   trunk/display/src/x11window.c

Log:
Window isn't a pointer.


Modified: trunk/display/src/x11window.c
==============================================================================
--- trunk/display/src/x11window.c       (original)
+++ trunk/display/src/x11window.c       Tue Jan 16 15:43:41 2007
@@ -116,7 +116,7 @@
     XLockDisplay(self->display);
 
     if (PyMapping_HasKeyString(kwargs, "window")) {
-        self->window = (Window)PyLong_AsVoidPtr(PyDict_GetItemString(kwargs, 
"window"));
+        self->window = 
(Window)PyLong_AsUnsignedLong(PyDict_GetItemString(kwargs, "window"));
     } else {
         screen = DefaultScreen(self->display);
         attr.backing_store = NotUseful;

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to