diff options
Diffstat (limited to 'sys/netatm/port.h')
-rw-r--r-- | sys/netatm/port.h | 2 |
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 |