]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fixed a typecast bug: the third argument of omapi_connection_array_extend()
authorDamien Neil <source@isc.org>
Thu, 15 Feb 2001 20:31:36 +0000 (20:31 +0000)
committerDamien Neil <source@isc.org>
Thu, 15 Feb 2001 20:31:36 +0000 (20:31 +0000)
is an (int *), not a (u_int32_t *).

omapip/connection.c

index 048dd659c702e9fae9a9fcc70ea50aa6e8b75a85..07b857e619458aaf6b9c97a15ab65a7bcc2d5f60 100644 (file)
@@ -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;