Skip to content

Commit

Permalink
Use the more canonical type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jclarke-csco committed Aug 15, 2024
1 parent 8e691d3 commit 3ed1b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int net_get_interfaces(struct net_interface **interfaces) {
const struct sockaddr_in *dl_addr;
int found = 0;
#if !defined(__FreeBSD__)
long allones_bcast = htonl(INADDR_BROADCAST);
uint32_t allones_bcast = htonl(INADDR_BROADCAST);
#endif

if (getifaddrs(&int_addrs) < 0) {
Expand Down

0 comments on commit 3ed1b25

Please sign in to comment.