diff options
| author | Dominik Pich | 2013-03-17 14:43:34 +0100 | 
|---|---|---|
| committer | Dominik Pich | 2013-03-17 14:43:34 +0100 | 
| commit | 8a6170ef38ad338753a8de782ad9d92e4cff5a55 (patch) | |
| tree | 7eb166836d7554ca48f071cdc93d8fcabc926ff5 /lib/DDHidAppleMikey.m | |
| parent | f0fd761bbf899e801143f39ce2fd0afd0c559f56 (diff) | |
| download | DDHidLib-8a6170ef38ad338753a8de782ad9d92e4cff5a55.tar.bz2 | |
fix some warnings
Diffstat (limited to 'lib/DDHidAppleMikey.m')
| -rw-r--r-- | lib/DDHidAppleMikey.m | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/DDHidAppleMikey.m b/lib/DDHidAppleMikey.m index d56db23..1460e57 100644 --- a/lib/DDHidAppleMikey.m +++ b/lib/DDHidAppleMikey.m @@ -152,7 +152,7 @@  - (void) ddhidQueueHasEvents: (DDHidQueue *) hidQueue;  {      DDHidEvent * event; -    while (event = [hidQueue nextEvent]) +    while ((event = [hidQueue nextEvent]))      {          DDHidElement * element = [self elementForCookie: [event elementCookie]];          unsigned usageId = [[element usage] usageId]; | 
