From b4bdde879baff078cdbb85a6e9ad8ae5a84c14d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Dec 2011 23:59:33 +0000 Subject: [PATCH] Fix harmless warning in wxOSX with 10.7 SDK. Use NSInteger instead of int in a declaration to avoid warnings about declaration mismatch from g++ 4.2 under OS X 10.7. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/textctrl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index f22f8de86e..ab588204b2 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -325,7 +325,7 @@ NSView* wxMacEditHelper::ms_viewCurrentlyEdited = nil; } - (NSArray *)control:(NSControl *)control textView:(NSTextView *)textView completions:(NSArray *)words - forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int*)index + forPartialWordRange:(NSRange)charRange indexOfSelectedItem:(NSInteger*)index { NSMutableArray* matches = NULL; -- 2.45.2