Changeset 142
- Timestamp:
- Feb 7, 2006 7:01:58 PM (19 years ago)
- Location:
- pjproject/trunk/pjlib-util
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/build/Makefile
r65 r142 23 23 export PJLIB_UTIL_SRCDIR = ../src/pjlib-util 24 24 export PJLIB_UTIL_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 25 md5.o scanner.o stun.o st un_client.o xml.o25 md5.o scanner.o stun.o string.o stun.o stun_client.o xml.o 26 26 export PJLIB_UTIL_CFLAGS += $(_CFLAGS) 27 27 -
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 -
pjproject/trunk/pjlib-util/include/pjlib-util/scanner_cis_uint.h
r73 r142 57 57 * @param c The character. 58 58 */ 59 #define PJ_CIS_SET(cis,c) ((cis)->cis_buf[( c)] = 1)59 #define PJ_CIS_SET(cis,c) ((cis)->cis_buf[(int)(c)] = 1) 60 60 61 61 /** … … 66 66 * @param c The character to be removed from the membership. 67 67 */ 68 #define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[ c] = 0)68 #define PJ_CIS_CLR(cis,c) ((cis)->cis_buf[(int)c] = 0) 69 69 70 70 /** … … 75 75 * @param c The character. 76 76 */ 77 #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[ c])77 #define PJ_CIS_ISSET(cis,c) ((cis)->cis_buf[(int)c]) 78 78 79 79 -
pjproject/trunk/pjlib-util/src/pjlib-util/scanner.c
r123 r142 484 484 unsigned N, pj_bool_t skip_ws) 485 485 { 486 char *start = scanner->curptr;487 488 486 if (scanner->curptr + N > scanner->end) { 489 487 pj_scan_syntax_err(scanner);
Note: See TracChangeset
for help on using the changeset viewer.