diff options
Diffstat (limited to 'hdlcutil/hdrvcomm.c')
-rw-r--r-- | hdlcutil/hdrvcomm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index 776c66d..7392d4e 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -102,7 +102,7 @@ int hdrvc_recvpacket(char *pkt, int maxlen) { struct ifreq ifr_new; struct sockaddr_ll from; - int from_len = sizeof(from); + socklen_t from_len = sizeof(from); #ifdef HDRVC_KERNEL if (kernel_mode) { |