Changeset 1235 for pjproject/trunk/pjlib/src/pjlib-test/string.c
- Timestamp:
- Apr 30, 2007 9:03:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/string.c
r1210 r1235 237 237 } 238 238 239 /* Avoid division by zero */ 240 if (c2 == 0) c2=1; 241 239 242 PJ_LOG(3, ("", " time: stricmp=%u, stricmp_alnum=%u (speedup=%d.%02dx)", 240 243 c1, c2, … … 329 332 * pj_strcpy(), pj_strcat() 330 333 */ 331 s3.ptr = pj_pool_alloc(pool, 256);334 s3.ptr = (char*) pj_pool_alloc(pool, 256); 332 335 if (!s3.ptr) 333 336 return -200; … … 349 352 * pj_utoa() 350 353 */ 351 s5.ptr = pj_pool_alloc(pool, 16);354 s5.ptr = (char*) pj_pool_alloc(pool, 16); 352 355 if (!s5.ptr) 353 356 return -270; … … 393 396 int j; 394 397 395 random[i].ptr = pj_pool_alloc(pool, RLEN);398 random[i].ptr = (char*) pj_pool_alloc(pool, RLEN); 396 399 if (!random[i].ptr) 397 400 return -320;
Note: See TracChangeset
for help on using the changeset viewer.