Changeset 4537 for pjproject/trunk/pjlib/src/pjlib-test/list.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/list.c
r3553 r4537 58 58 { 59 59 list_node *node = (list_node*)nd; 60 return ((long) value == node->value) ? 0 : -1;60 return ((long)(pj_ssize_t)value == node->value) ? 0 : -1; 61 61 } 62 62 … … 208 208 return -1; 209 209 } 210 p = (list_node*) pj_list_search(&list, (void*)(long)i, &compare_node); 210 p = (list_node*) pj_list_search(&list, (void*)(pj_ssize_t)i, 211 &compare_node); 211 212 pj_assert( p == &nodes[i] ); 212 213 if (p != &nodes[i]) {
Note: See TracChangeset
for help on using the changeset viewer.