summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/systm.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/systm.h')
-rw-r--r--freebsd/sys/sys/systm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h
index 676bd9c7..f16c30a7 100644
--- a/freebsd/sys/sys/systm.h
+++ b/freebsd/sys/sys/systm.h
@@ -306,7 +306,7 @@ int fubyte(const void *base);
static inline int
fubyte(const void *base)
{
- const unsigned char *byte_base = base;
+ const unsigned char *byte_base = (const unsigned char *)base;
return byte_base[0];
}