Author: mlytwyn
Date: Sun Feb 12 19:43:13 2017
New Revision: 40338

URL: http://svn.gna.org/viewcvs/gnustep?rev=40338&view=rev
Log:
Fix window number usage to NSInteger

Modified:
    
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDragView.h
    libs/gui/branches/gnustep_testplant_branch/Source/GSDragView.m

Modified: 
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDragView.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDragView.h?rev=40338&r1=40337&r2=40338&view=diff
==============================================================================
--- 
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDragView.h
        (original)
+++ 
libs/gui/branches/gnustep_testplant_branch/Headers/Additions/GNUstepGUI/GSDragView.h
        Sun Feb 12 19:43:13 2017
@@ -129,7 +129,7 @@
                 timestamp: (NSTimeInterval)time
                  toWindow: (NSInteger)dWindowNumber;
 - (NSWindow*) windowAcceptingDnDunder: (NSPoint)mouseLocation
-                           windowRef: (int*)mouseWindowRef;
+                           windowRef: (NSInteger*)mouseWindowRef;
 
 @end
 #endif

Modified: libs/gui/branches/gnustep_testplant_branch/Source/GSDragView.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/GSDragView.m?rev=40338&r1=40337&r2=40338&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSDragView.m      
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSDragView.m      Sun Feb 
12 19:43:13 2017
@@ -357,7 +357,7 @@
   set, if there is a native window, but no GNUstep window at this location.
  */
 - (NSWindow*) windowAcceptingDnDunder: (NSPoint)mouseLocation
-                            windowRef: (int*)mouseWindowRef
+                            windowRef: (NSInteger*)mouseWindowRef
 {
   NSInteger win;
 
@@ -890,7 +890,7 @@
   //--- Store old values -----------------------------------------------------
   NSWindow *oldDestWindow = destWindow;
   BOOL oldDestExternal = destExternal;
-  int mouseWindowRef; 
+  NSInteger mouseWindowRef;
   BOOL changeCursor = NO;
  
   //--- Move drag image to the new position -----------------------------------


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to