ossp-pkg/cfg/cfg_node.c 1.19 -> 1.20
--- cfg_node.c 2004/07/17 07:37:55 1.19
+++ cfg_node.c 2004/07/17 14:34:06 1.20
@@ -53,7 +53,7 @@
return CFG_ERR_ARG;
/* allocate memory */
- if ((rc = cfg_grid_alloc(cfg->grid_nodes, (void **)&n)) != CFG_OK)
+ if ((rc = cfg_grid_alloc(cfg->grid_nodes, (void **)(void *)&n)) != CFG_OK)
return rc;
/* initialize node attributes */
@@ -105,7 +105,7 @@
return CFG_ERR_ARG;
/* allocate memory for new node */
- if ((rc = cfg_grid_alloc(cfg->grid_nodes, (void **)&n)) != CFG_OK)
+ if ((rc = cfg_grid_alloc(cfg->grid_nodes, (void **)(void *)&n)) != CFG_OK)
return rc;
/* clone node attributes */
|
|