aboutsummaryrefslogtreecommitdiff
path: root/pcap-rdmasniff.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-rdmasniff.c')
-rw-r--r--pcap-rdmasniff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-rdmasniff.c b/pcap-rdmasniff.c
index 921e68c6..a51fc7e9 100644
--- a/pcap-rdmasniff.c
+++ b/pcap-rdmasniff.c
@@ -361,7 +361,7 @@ rdmasniff_create(const char *device, char *ebuf, int *is_ours)
int numdev;
size_t namelen;
const char *port;
- unsigned port_num;
+ unsigned long port_num;
int i;
pcap_t *p = NULL;