Author: tack
Date: Tue Jan 16 17:14:47 2007
New Revision: 2410

Modified:
   trunk/xine/src/drivers/x11.c

Log:
Should be unsigned.


Modified: trunk/xine/src/drivers/x11.c
==============================================================================
--- trunk/xine/src/drivers/x11.c        (original)
+++ trunk/xine/src/drivers/x11.c        Tue Jan 16 17:14:47 2007
@@ -153,7 +153,7 @@
         }
     } else if (PyMapping_HasKeyString(kwargs, "wid")) {
         window = PyDict_GetItemString(kwargs, "wid");
-        vis.d = PyLong_AsLong(window);
+        vis.d = PyLong_AsUnsignedLong(window);
         display_str = PyDict_GetItemString(kwargs, "display");
         if (display_str)
             display = XOpenDisplay(PyString_AsString(display_str));

-------------------------------------------------------------------------
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