Changeset 35 for pjproject/main/pjlib/src/pjlib-test/list.c
- Timestamp:
- Nov 8, 2005 12:46:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/main/pjlib/src/pjlib-test/list.c
r17 r35 41 41 { 42 42 list_node *node = (list_node*)nd; 43 return (( int)value == node->value) ? 0 : -1;43 return ((long)value == node->value) ? 0 : -1; 44 44 } 45 45 … … 191 191 return -1; 192 192 } 193 p = (list_node*) pj_list_search(&list, (void*) i, &compare_node);193 p = (list_node*) pj_list_search(&list, (void*)(long)i, &compare_node); 194 194 pj_assert( p == &nodes[i] ); 195 195 if (p != &nodes[i]) {
Note: See TracChangeset
for help on using the changeset viewer.