From 9c9c8864a82ad62289ffe79105f38543f1b63723 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 17 Jan 2006 02:03:54 +0000 Subject: since bcopy/bzero will be assigned to these pointers, get the size_t in the cast right; ok millert --- sys/arch/mvme68k/dev/if_ie.c | 6 +++--- sys/arch/mvme88k/dev/if_ie.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys') 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? */ -- cgit v1.2.3