diff options
author | dgp <dgp@noemail.net> | 2015-02-12 12:51:10 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2015-02-12 12:51:10 (GMT) |
commit | d2c50d0f87578d19525d57ef657ab1cc9098eb49 (patch) | |
tree | 587344f98f1985de320c58734134f3eee93b87f8 /macosx/tkMacOSXKeyEvent.c | |
parent | 1533bf3cac64320861c186b0e39f84d59fcb3331 (diff) | |
download | tk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.zip tk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.tar.gz tk-d2c50d0f87578d19525d57ef657ab1cc9098eb49.tar.bz2 |
Silence some compiler warnings
FossilOrigin-Name: 4f08cfde190264e108df625396265087d197c06d
Diffstat (limited to 'macosx/tkMacOSXKeyEvent.c')
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c index 0cfb663..c9ad9f1 100644 --- a/macosx/tkMacOSXKeyEvent.c +++ b/macosx/tkMacOSXKeyEvent.c @@ -272,8 +272,9 @@ static unsigned isFunctionKey(unsigned int code); NSString *str = [aString respondsToSelector: @selector (string)] ? [aString string] : aString; if (NS_KEYLOG) - NSLog (@"setMarkedText '%@' len =%d range %d from %d", str, [str length], - selRange.length, selRange.location); + NSLog (@"setMarkedText '%@' len =%lu range %lu from %lu", str, + (unsigned long) [str length], (unsigned long) selRange.length, + (unsigned long) selRange.location); if (privateWorkingText != nil) [self deleteWorkingText]; @@ -293,7 +294,8 @@ static unsigned isFunctionKey(unsigned int code); if (privateWorkingText == nil) return; if (NS_KEYLOG) - NSLog(@"deleteWorkingText len = %d\n", [privateWorkingText length]); + NSLog(@"deleteWorkingText len = %lu\n", + (unsigned long)[privateWorkingText length]); [privateWorkingText release]; privateWorkingText = nil; processingCompose = NO; |