Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

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

    r4296 r4537  
    142142        hash = *hval; 
    143143        if (keylen==PJ_HASH_KEY_STRING) { 
    144             keylen = pj_ansi_strlen((const char*)key); 
     144            keylen = (unsigned)pj_ansi_strlen((const char*)key); 
    145145        } 
    146146    } else { 
     
    157157                    hash = hash * PJ_HASH_MULTIPLIER + *p; 
    158158            } 
    159             keylen = p - (const unsigned char*)key; 
     159            keylen = (unsigned)(p - (const unsigned char*)key); 
    160160        } else { 
    161161            const pj_uint8_t *p = (const pj_uint8_t*)key, 
Note: See TracChangeset for help on using the changeset viewer.