Fix compiler warnings reported by

Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36165 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2013-02-18 20:29:10 +00:00
parent 07faddc706
commit 941afdac86
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2013-02-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSDragView.m
* Source/NSTextView.m
Fix compiler warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
2013-02-17 German A. Arias <german@xelalug.org>
* Resources/Spanish.lproj/Localizable.strings: Translations.

View file

@ -497,7 +497,7 @@ static GSDragView *sharedDragView = nil;
NSDebugLLog (@"NSDragging",
@"drag, operation, target mask = (%x, %x, %x), dnd aware = %d\n",
dragMask, operationMask, targetMask,
(unsigned int)dragMask, (unsigned int)operationMask, (unsigned int)targetMask,
(targetWindowRef != 0));
if (cursors == nil)

View file

@ -5780,7 +5780,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1;
- (void) rightMouseDown: (NSEvent *)theEvent
{
NSUInteger i;
NSInteger i;
NSMenu *menu = [[self class] defaultMenu];
NSPoint point = [self convertPoint: [theEvent locationInWindow] fromView: nil];
NSUInteger index = [self _characterIndexForPoint: point
@ -5792,7 +5792,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1;
if (!_layoutManager)
return;
for (i=[[menu itemArray] count]-1; i>=0; --i)
for (i = [[menu itemArray] count] - 1; i >= 0; --i)
{
NSMenuItem *item = [menu itemAtIndex: i];
if ([item tag] == GSSpellingSuggestionMenuItemTag)