Changeset 1239 for pjproject/trunk/pjlib-util/src/pjlib-util/xml.c
- Timestamp:
- May 1, 2007 12:25:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/xml.c
r1145 r1239 38 38 pj_xml_node *node; 39 39 40 node = pj_pool_zalloc(pool, sizeof(pj_xml_node));40 node = PJ_POOL_ZALLOC_T(pool, 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_POOL_ZALLOC_T(pool, 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, *node = head->next; 397 397 398 398 while (node != (void*)head) {
Note: See TracChangeset
for help on using the changeset viewer.