Ignore:
Timestamp:
Apr 30, 2007 9:03:32 PM (18 years ago)
Author:
bennylp
Message:

Initial Symbian integration to trunk for pjlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/string.c

    r1210 r1235  
    237237    } 
    238238 
     239    /* Avoid division by zero */ 
     240    if (c2 == 0) c2=1; 
     241     
    239242    PJ_LOG(3, ("", "  time: stricmp=%u, stricmp_alnum=%u (speedup=%d.%02dx)",  
    240243                   c1, c2, 
     
    329332     * pj_strcpy(), pj_strcat()  
    330333     */ 
    331     s3.ptr = pj_pool_alloc(pool, 256); 
     334    s3.ptr = (char*) pj_pool_alloc(pool, 256); 
    332335    if (!s3.ptr)  
    333336        return -200; 
     
    349352     * pj_utoa()  
    350353     */ 
    351     s5.ptr = pj_pool_alloc(pool, 16); 
     354    s5.ptr = (char*) pj_pool_alloc(pool, 16); 
    352355    if (!s5.ptr) 
    353356        return -270; 
     
    393396        int j; 
    394397         
    395         random[i].ptr = pj_pool_alloc(pool, RLEN); 
     398        random[i].ptr = (char*) pj_pool_alloc(pool, RLEN); 
    396399        if (!random[i].ptr) 
    397400            return -320; 
Note: See TracChangeset for help on using the changeset viewer.