|
Check-in Number:
|
5565 | |
| Date: |
2004-Jul-17 16:34:06 (local)
2004-Jul-17 14:34:06 (UTC) |
| User: | rse |
| Branch: | |
| Comment: |
Fixed warnings under GCC 3.4/3.5. |
| Tickets: |
|
| Inspections: |
|
| Files: |
|
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 */
|
|