- Timestamp:
- Oct 29, 2006 6:13:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/symbian/pjlib-util/src/pjlib-util/xml.c
r200 r789 38 38 pj_xml_node *node; 39 39 40 node = pj_pool_zalloc(pool, sizeof(pj_xml_node));40 node = (pj_xml_node*) pj_pool_zalloc(pool, sizeof(pj_xml_node)); 41 41 pj_list_init( &node->attr_head ); 42 42 pj_list_init( &node->node_head ); … … 47 47 static pj_xml_attr *alloc_attr( pj_pool_t *pool ) 48 48 { 49 return pj_pool_zalloc(pool, sizeof(pj_xml_attr));49 return (pj_xml_attr*) pj_pool_zalloc(pool, sizeof(pj_xml_attr)); 50 50 } 51 51 … … 394 394 pj_bool_t (*match)(pj_xml_node *, const void*)) 395 395 { 396 pj_xml_node *head = (void*)&parent->node_head, *node = head->next; 396 pj_xml_node *head = (pj_xml_node *) &parent->node_head, 397 *node = head->next; 397 398 398 399 while (node != (void*)head) {
Note: See TracChangeset
for help on using the changeset viewer.