summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-17 02:03:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-17 02:03:54 +0000
commit9c9c8864a82ad62289ffe79105f38543f1b63723 (patch)
tree2955a1c79cf2fd1706583a9b5c5918a23665c40d /sys
parent3322550097893d5d72985106e8468ed1d4968fca (diff)
since bcopy/bzero will be assigned to these pointers, get the size_t in the cast right; ok millert
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/dev/if_ie.c6
-rw-r--r--sys/arch/mvme88k/dev/if_ie.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/dev/if_ie.c b/sys/arch/mvme68k/dev/if_ie.c
index 88733f425f5..191235e784a 100644
--- a/sys/arch/mvme68k/dev/if_ie.c
+++ b/sys/arch/mvme68k/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.32 2006/01/11 07:21:58 miod Exp $ */
+/* $OpenBSD: if_ie.c,v 1.33 2006/01/17 02:03:53 deraadt Exp $ */
/*-
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -182,9 +182,9 @@ struct ie_softc {
void (*reset_596)(void *); /* card dependent reset function */
void (*chan_attn)(void *); /* card dependent attn function */
void (*run_596)(void *); /* card dependent "go on-line" func */
- void (*memcopy)(const void *, void *, u_int);
+ void (*memcopy)(const void *, void *, size_t);
/* card dependent memory copy function */
- void (*memzero)(void *, u_int);
+ void (*memzero)(void *, size_t);
/* card dependent memory zero function */
int want_mcsetup; /* mcsetup flag */
int promisc; /* are we in promisc mode? */
diff --git a/sys/arch/mvme88k/dev/if_ie.c b/sys/arch/mvme88k/dev/if_ie.c
index c900a443bbd..e0933e658d6 100644
--- a/sys/arch/mvme88k/dev/if_ie.c
+++ b/sys/arch/mvme88k/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.36 2006/01/11 07:22:00 miod Exp $ */
+/* $OpenBSD: if_ie.c,v 1.37 2006/01/17 02:03:53 deraadt Exp $ */
/*-
* Copyright (c) 1998 Steve Murphree, Jr.
@@ -176,9 +176,9 @@ struct ie_softc {
/* card dependent attn function */
void (*run_596)(struct ie_softc *);
/* card depenent "go on-line" function */
- void (*memcopy)(const void *, void *, u_int);
+ void (*memcopy)(const void *, void *, size_t);
/* card dependent memory copy function */
- void (*memzero)(void *, u_int);
+ void (*memzero)(void *, size_t);
/* card dependent memory zero function */
int want_mcsetup; /* mcsetup flag */
int promisc; /* are we in promisc mode? */