summaryrefslogtreecommitdiff
path: root/sysdep/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/bsd')
-rw-r--r--sysdep/bsd/sysio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h
index df5e0236..c82d7a1e 100644
--- a/sysdep/bsd/sysio.h
+++ b/sysdep/bsd/sysio.h
@@ -130,7 +130,7 @@ static inline void
sk_process_cmsg4_ttl(sock *s, struct cmsghdr *cm)
{
if (cm->cmsg_type == IP_RECVTTL)
- s->rcv_ttl = * (unsigned char *) CMSG_DATA(cm);
+ s->rcv_ttl = * (byte *) CMSG_DATA(cm);
}
static inline void