From 452f3dd1ad6705f8361b0d2d4786388413a0bbbe Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 6 Dec 2002 04:06:13 +0000 Subject: [PATCH] Avoid strict-alias warnings. --- dist/dhcp/includes/omapip/omapip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/dhcp/includes/omapip/omapip.h b/dist/dhcp/includes/omapip/omapip.h index 7f51c3ff0f94..61c008ca8c6b 100644 --- a/dist/dhcp/includes/omapip/omapip.h +++ b/dist/dhcp/includes/omapip/omapip.h @@ -260,12 +260,12 @@ isc_result_t name##_array_lookup (stype **, \ omapi_array_foreach_index++) { \ if ((array) -> data [omapi_array_foreach_index]) { \ ((*(array) -> ref) \ - ((char **)&var, \ + ((void *)&var, \ (array) -> data [omapi_array_foreach_index],\ MDL)); #define omapi_array_foreach_end(array, stype, var) \ - (*(array) -> deref) ((char **)&var, MDL); \ + (*(array) -> deref) ((void *)&var, MDL); \ } \ } \ }