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

Pass pointer to unsigned long, for portability to 64-bit architectures.

This commit is contained in:
Ted Lemon
1999-10-08 17:28:09 +00:00
parent a804d24e26
commit 013be24d6e
2 changed files with 11 additions and 5 deletions

View File

@@ -364,7 +364,8 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
omapi_message_object_t *message, *m;
omapi_object_t *object = (omapi_object_t *)0;
omapi_value_t *tv = (omapi_value_t *)0;
u_int32_t create, update, exclusive;
unsigned long create, update, exclusive;
unsigned long wsi;
isc_result_t status, waitstatus;
omapi_object_type_t *type;
@@ -625,8 +626,8 @@ isc_result_t omapi_message_process (omapi_object_t *mo, omapi_object_t *po)
(omapi_object_t *)0,
"result", &tv);
if (status == ISC_R_SUCCESS) {
status = omapi_get_int_value ((u_int32_t *)&waitstatus,
tv -> value);
status = omapi_get_int_value (&wsi, tv -> value);
waitstatus = wsi;
omapi_value_dereference (&tv,
"omapi_message_process");
if (status != ISC_R_SUCCESS)