mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Removed a couple more compiler warnings.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15140 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_ioctl.c,v 1.11 2006-01-08 12:04:24 obarthel Exp $
|
||||
* $Id: socket_ioctl.c,v 1.12 2006-09-21 09:24:20 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -91,14 +91,14 @@ ioctl(int sockfd,int request, ... /* char *arg */)
|
||||
{
|
||||
int * option = (int *)param;
|
||||
|
||||
if(request == (unsigned int)FIONBIO)
|
||||
if(request == (int)FIONBIO)
|
||||
{
|
||||
if((*option) != 0)
|
||||
SET_FLAG(fd->fd_Flags,FDF_NON_BLOCKING);
|
||||
else
|
||||
CLEAR_FLAG(fd->fd_Flags,FDF_NON_BLOCKING);
|
||||
}
|
||||
else if (request == (unsigned int)FIOASYNC)
|
||||
else if (request == (int)FIOASYNC)
|
||||
{
|
||||
if((*option) != 0)
|
||||
SET_FLAG(fd->fd_Flags,FDF_ASYNC_IO);
|
||||
|
||||
Reference in New Issue
Block a user