]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Change the index element of omapi_listener_object_t from an int32_t
authorDamien Neil <source@isc.org>
Thu, 15 Feb 2001 20:47:10 +0000 (20:47 +0000)
committerDamien Neil <source@isc.org>
Thu, 15 Feb 2001 20:47:10 +0000 (20:47 +0000)
to an int, to avoid problems when passing it to omapi_array_extend()
elsewhere.

includes/omapip/omapip_p.h

index 8ca510546dfa717ea5c709cadd08d225863baaf6..0c186e4022cdc4fc968fe74a87f4f98fe1641874 100644 (file)
@@ -173,7 +173,7 @@ typedef struct {
 typedef struct __omapi_listener_object {
        OMAPI_OBJECT_PREAMBLE;
        int socket;             /* Connection socket. */
-       int32_t index;
+       int index;
        struct sockaddr_in address;
        isc_result_t (*verify_addr) (omapi_object_t *, omapi_addr_t *);
 } omapi_listener_object_t;