Changeset 4537 for pjproject/trunk/pjlib/src/pj/hash.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/hash.c
r4296 r4537 142 142 hash = *hval; 143 143 if (keylen==PJ_HASH_KEY_STRING) { 144 keylen = pj_ansi_strlen((const char*)key);144 keylen = (unsigned)pj_ansi_strlen((const char*)key); 145 145 } 146 146 } else { … … 157 157 hash = hash * PJ_HASH_MULTIPLIER + *p; 158 158 } 159 keylen = p - (const unsigned char*)key;159 keylen = (unsigned)(p - (const unsigned char*)key); 160 160 } else { 161 161 const pj_uint8_t *p = (const pj_uint8_t*)key,
Note: See TracChangeset
for help on using the changeset viewer.