- Timestamp:
- Feb 7, 2006 7:01:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/scanner_cis_bitwise.h
r73 r142 70 70 * @param c The character. 71 71 */ 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)) 73 73 74 74 /** … … 79 79 * @param c The character to be removed from the membership. 80 80 */ 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)) 82 82 83 83 /** … … 88 88 * @param c The character. 89 89 */ 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)) 91 91 92 92
Note: See TracChangeset
for help on using the changeset viewer.