Ignore:
Timestamp:
Feb 7, 2006 7:01:58 PM (18 years ago)
Author:
bennylp
Message:

Fixed Makefile and warnings in cygwin/mingw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/scanner_cis_bitwise.h

    r73 r142  
    7070 * @param c         The character. 
    7171 */ 
    72 #define PJ_CIS_SET(cis,c)   ((cis)->cis_buf[(c)] |= (1 << (cis)->cis_id)) 
     72#define PJ_CIS_SET(cis,c)   ((cis)->cis_buf[(int)(c)] |= (1 << (cis)->cis_id)) 
    7373 
    7474/** 
     
    7979 * @param c         The character to be removed from the membership. 
    8080 */ 
    81 #define PJ_CIS_CLR(cis,c)   ((cis)->cis_buf[c] &= ~(1 << (cis)->cis_id)) 
     81#define PJ_CIS_CLR(cis,c)   ((cis)->cis_buf[(int)c] &= ~(1 << (cis)->cis_id)) 
    8282 
    8383/** 
     
    8888 * @param c         The character. 
    8989 */ 
    90 #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[c] & (1 << (cis)->cis_id)) 
     90#define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c] & (1 << (cis)->cis_id)) 
    9191 
    9292 
Note: See TracChangeset for help on using the changeset viewer.