summaryrefslogtreecommitdiff
path: root/sysdep/bsd/sysio.h
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:14:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commite348ef01b433e06888310c1098a05291034a856c (patch)
tree905e6c10143b8f7dbaba792f3733eaac13b5a479 /sysdep/bsd/sysio.h
parent398f92253186d70eb3f2e910c7f8dd2636ee5fa1 (diff)
unsgined char -> byte
Diffstat (limited to 'sysdep/bsd/sysio.h')
-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