From: Damien Neil Date: Thu, 15 Feb 2001 20:31:36 +0000 (+0000) Subject: Fixed a typecast bug: the third argument of omapi_connection_array_extend() X-Git-Tag: V3-BETA-2-PATCH-18~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2844788f4e2ef1d8a72267b2def926d79ac08ee6;p=thirdparty%2Fdhcp.git Fixed a typecast bug: the third argument of omapi_connection_array_extend() is an (int *), not a (u_int32_t *). --- diff --git a/omapip/connection.c b/omapip/connection.c index 048dd659c..07b857e61 100644 --- a/omapip/connection.c +++ b/omapip/connection.c @@ -265,7 +265,7 @@ void omapi_connection_register (omapi_connection_object_t *obj, } status = omapi_connection_array_extend (omapi_connections, obj, - (u_int32_t *)0, file, line); + (int *)0, file, line); if (status != ISC_R_SUCCESS) { obj -> index = -1; return;