summaryrefslogtreecommitdiffstats
path: root/sys/netatm/port.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2001-03-20 10:42:49 +0000
committeralfred <alfred@FreeBSD.org>2001-03-20 10:42:49 +0000
commitb4e56ebf7660b7ce521d087e2d9b1913572b9d01 (patch)
tree3c78e08e2b4d7de7cb402f5b2b268a1587642ff7 /sys/netatm/port.h
parente345ef481160c6d89bd8ac528d7704b1f80d7817 (diff)
downloadFreeBSD-src-b4e56ebf7660b7ce521d087e2d9b1913572b9d01.zip
FreeBSD-src-b4e56ebf7660b7ce521d087e2d9b1913572b9d01.tar.gz
Silence some warnings
Submitted by: LINT
Diffstat (limited to 'sys/netatm/port.h')
-rw-r--r--sys/netatm/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/port.h b/sys/netatm/port.h
index 8ada59f..911f9a2 100644
--- a/sys/netatm/port.h
+++ b/sys/netatm/port.h
@@ -86,7 +86,7 @@
#if defined(BSD)
#define KM_CMP(b1, b2, len) bcmp((void *)(b1), (void *)(b2),\
(len))
-#define KM_COPY(from, to, len) bcopy((void *)(from), (void *)(to),\
+#define KM_COPY(from, to, len) bcopy((const void *)(from), (void *)(to),\
(len))
#define KM_ZERO(addr, len) bzero((void *)(addr), (len))
#endif
OpenPOWER on IntegriCloud