briankc/ukkqueue — Issue #1: conversion warning in UKFNSubscribeFileWatcher.m
Author: jmoody
Created: 2011-11-02 22:11:58+00:00
State: open

Thanks for putting this into GitHub.

Xcode 4.2
LLVM 3.0

I am seeing a conversion warning in UKFNSubscribeFileWatcher.m and I am wondering if it can be fixed or suppressed.

``` Objective-C
-(void) addPath: (NSString*)path

OSStatus err = noErr;

NSLog( @"UKFNSubscribeFileWatcher addPath: %@ failed due to error ID=%ld.", path, err );

==>

ukkqueue/UKFNSubscribeFileWatcher.m:105:80 warning: conversion specifies type 'long' but
the argument has type 'OSStatus' (aka 'int') [-Wformat,9]
```

A possible fix is the change the format directive to %d.

Please let me know if I should report this elsewhere.

Thanks

Joshua