mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Tried to reduce the number of compiler warnings generated.
- The cross compiler GNUmakefile.os4 variant now also logs all warnings and errors to a compiler.log file. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15055 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_ioctl.c,v 1.9 2005-10-09 12:32:18 obarthel Exp $
|
||||
* $Id: socket_ioctl.c,v 1.10 2005-10-27 08:58:41 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@@ -91,14 +91,14 @@ ioctl(int sockfd,int request, ... /* char *arg */)
|
||||
{
|
||||
int * option = (int *)param;
|
||||
|
||||
if(request == FIONBIO)
|
||||
if(request == (unsigned 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 == FIOASYNC)
|
||||
else if (request == (unsigned int)FIOASYNC)
|
||||
{
|
||||
if((*option) != 0)
|
||||
SET_FLAG(fd->fd_Flags,FDF_ASYNC_IO);
|
||||
|
||||
Reference in New Issue
Block a user