2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Fixed a typecast bug: the third argument of omapi_connection_array_extend()

is an (int *), not a (u_int32_t *).
This commit is contained in:
Damien Neil
2001-02-15 20:31:36 +00:00
parent b209f985c4
commit 2844788f4e

View 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;