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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user