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-util/src/pjlib-util/sha1.c

    r3549 r4537  
    210210 
    211211    j = (context->count[0] >> 3) & 63; 
    212     if ((context->count[0] += len << 3) < (len << 3)) context->count[1]++; 
    213     context->count[1] += (len >> 29); 
     212    if ((context->count[0] += (pj_uint32_t)len << 3) < (len << 3))  
     213        context->count[1]++; 
     214    context->count[1] += ((pj_uint32_t)len >> 29); 
    214215    if ((j + len) > 63) { 
    215216        pj_memcpy(&context->buffer[j], data, (i = 64-j)); 
Note: See TracChangeset for help on using the changeset viewer.