mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Tweaks to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17383 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02aace51b0
commit
77ab6be142
6 changed files with 50 additions and 34 deletions
|
@ -1529,7 +1529,7 @@ static void setPollfd(int fd, int event, GSRunLoopCtxt *ctxt)
|
|||
|
||||
info = [self _getWatcher: data type: type forMode: mode];
|
||||
|
||||
if (info != nil && info->receiver == (id)watcher)
|
||||
if (info != nil && (id)info->receiver == (id)watcher)
|
||||
{
|
||||
/* Increment usage count for this watcher. */
|
||||
info->count++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue