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/pjlib-test/pool.c

    r3553 r4537  
    9494        return -300; 
    9595 
    96 #define IS_ALIGNED(p)   ((((unsigned long)p) & (PJ_POOL_ALIGNMENT-1)) == 0) 
     96#define IS_ALIGNED(p)   ((((unsigned long)(pj_ssize_t)p) & \ 
     97                           (PJ_POOL_ALIGNMENT-1)) == 0) 
    9798 
    9899    for (i=0; i<LOOP; ++i) { 
     
    196197                   ~(PJ_POOL_ALIGNMENT - 1); 
    197198        else 
    198             size = freesize; 
     199            size = (int)freesize; 
    199200 
    200201        p = pj_pool_alloc(pool, size); 
Note: See TracChangeset for help on using the changeset viewer.