Ignore:
Timestamp:
Jan 27, 2007 6:31:51 PM (18 years ago)
Author:
bennylp
Message:

Fixed various gcc warnings especially related to ticket #82 when particular codecs are disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ioqueue_select.c

    r750 r911  
    316316{ 
    317317    pj_ioqueue_key_t *key = NULL; 
     318#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ 
     319    defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 
     320    u_long value; 
     321#else 
    318322    pj_uint32_t value; 
     323#endif 
    319324    pj_status_t rc = PJ_SUCCESS; 
    320325     
     
    355360#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ 
    356361    defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 
    357     if (ioctlsocket(sock, FIONBIO, (u_long*)&value)) { 
     362    if (ioctlsocket(sock, FIONBIO, &value)) { 
    358363#else 
    359364    if (ioctl(sock, FIONBIO, &value)) { 
Note: See TracChangeset for help on using the changeset viewer.