[MPlayer-cvslog] r33845 - trunk/gui/wm/wsxdnd.c

ib subversion at mplayerhq.hu
Thu Jul 7 17:41:25 CEST 2011


Author: ib
Date: Thu Jul  7 17:41:25 2011
New Revision: 33845

Log:
Use proper cast in comparison.

Modified:
   trunk/gui/wm/wsxdnd.c

Modified: trunk/gui/wm/wsxdnd.c
==============================================================================
--- trunk/gui/wm/wsxdnd.c	Thu Jul  7 17:36:40 2011	(r33844)
+++ trunk/gui/wm/wsxdnd.c	Thu Jul  7 17:41:25 2011	(r33845)
@@ -165,7 +165,7 @@ wsXDNDProcessClientMessage(wsTWindow* wn
     if ((event->data.l[1] & 1) == 0){
       int index;
       for(index = 0; index <= 2 ; index++){
-	if (event->data.l[2+index] == ok) {
+	if ((Atom) event->data.l[2+index] == ok) {
 	  atom_support = ok;
 	}
       }
@@ -216,7 +216,7 @@ wsXDNDProcessClientMessage(wsTWindow* wn
   }
 
   if (event->message_type == XA_XdndDrop) {
-    if (event->data.l[0] != XGetSelectionOwner(wsDisplay, XA_XdndSelection)){
+    if ((Window) event->data.l[0] != XGetSelectionOwner(wsDisplay, XA_XdndSelection)){
       puts("Wierd selection owner... QT?");
     }
     if (atom_support != None) {


More information about the MPlayer-cvslog mailing list