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/fifobuf.c

    r3553 r4537  
    4848 
    4949    if (fifobuf->uend >= fifobuf->ubegin) { 
    50         s1 = fifobuf->last - fifobuf->uend; 
    51         s2 = fifobuf->ubegin - fifobuf->first; 
     50        s1 = (unsigned)(fifobuf->last - fifobuf->uend); 
     51        s2 = (unsigned)(fifobuf->ubegin - fifobuf->first); 
    5252    } else { 
    53         s1 = s2 = fifobuf->ubegin - fifobuf->uend; 
     53        s1 = s2 = (unsigned)(fifobuf->ubegin - fifobuf->uend); 
    5454    } 
    5555     
     
    7373    /* try to allocate from the end part of the fifo */ 
    7474    if (fifobuf->uend >= fifobuf->ubegin) { 
    75         available = fifobuf->last - fifobuf->uend; 
     75        available = (unsigned)(fifobuf->last - fifobuf->uend); 
    7676        if (available >= size+SZ) { 
    7777            char *ptr = fifobuf->uend; 
     
    9393    /* try to allocate from the start part of the fifo */ 
    9494    start = (fifobuf->uend <= fifobuf->ubegin) ? fifobuf->uend : fifobuf->first; 
    95     available = fifobuf->ubegin - start; 
     95    available = (unsigned)(fifobuf->ubegin - start); 
    9696    if (available >= size+SZ) { 
    9797        char *ptr = start; 
Note: See TracChangeset for help on using the changeset viewer.