diff --git a/lib/cnet/protosw/cnet_protosw.c b/lib/cnet/protosw/cnet_protosw.c index 10da9d0e..0a9f17bc 100644 --- a/lib/cnet/protosw/cnet_protosw.c +++ b/lib/cnet/protosw/cnet_protosw.c @@ -35,7 +35,7 @@ cnet_protosw_match(uint16_t domain, uint16_t type, uint16_t proto) } struct protosw_entry * -cnet_protosw_find(uint16_t domain, uint16_t type, uint16_t proto) +cnet_protosw_find(int domain, int type, int proto) { struct protosw_entry *p; diff --git a/lib/cnet/protosw/cnet_protosw.h b/lib/cnet/protosw/cnet_protosw.h index 6d0842dd..3217064e 100644 --- a/lib/cnet/protosw/cnet_protosw.h +++ b/lib/cnet/protosw/cnet_protosw.h @@ -96,7 +96,7 @@ CNDP_API struct protosw_entry *cnet_protosw_add(const char *name, uint16_t domai * @return * NULL on error or a pointer to a protocol switch entry. */ -CNDP_API struct protosw_entry *cnet_protosw_find(uint16_t domain, uint16_t type, uint16_t proto); +CNDP_API struct protosw_entry *cnet_protosw_find(int domain, int type, int proto); /** * @brief Dump out the list of protocol switch values.