Fix window number usage to NSInteger

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40338 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2017-02-12 18:43:13 +00:00
parent 2fd2b171de
commit 6671471116
2 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@
timestamp: (NSTimeInterval)time
toWindow: (NSInteger)dWindowNumber;
- (NSWindow*) windowAcceptingDnDunder: (NSPoint)mouseLocation
windowRef: (int*)mouseWindowRef;
windowRef: (NSInteger*)mouseWindowRef;
@end
#endif

View file

@ -357,7 +357,7 @@ static GSDragView *sharedDragView = nil;
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 @@ static GSDragView *sharedDragView = nil;
//--- Store old values -----------------------------------------------------
NSWindow *oldDestWindow = destWindow;
BOOL oldDestExternal = destExternal;
int mouseWindowRef;
NSInteger mouseWindowRef;
BOOL changeCursor = NO;
//--- Move drag image to the new position -----------------------------------