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:
Richard Frith-Macdonald 2003-07-28 16:44:24 +00:00
parent cfe8d9e881
commit e5bba705a3
6 changed files with 50 additions and 34 deletions

View file

@ -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++;