From a0c0e7eff133799fff750e52f2286f83873c5e67 Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 13 Nov 1998 13:47:56 +0000 Subject: [PATCH] fix egcs warning --- sys/dev/raidframe/rf_states.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/raidframe/rf_states.c b/sys/dev/raidframe/rf_states.c index 2548d44d0d00..c9f6b524eba3 100644 --- a/sys/dev/raidframe/rf_states.c +++ b/sys/dev/raidframe/rf_states.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_states.c,v 1.1 1998/11/13 04:20:34 oster Exp $ */ +/* $NetBSD: rf_states.c,v 1.2 1998/11/13 13:47:56 drochner Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -379,7 +379,9 @@ void rf_ContinueDagAccess (RF_DagList_t *dagList) int rf_State_LastState(RF_RaidAccessDesc_t *desc) { void (*callbackFunc)(RF_CBParam_t) = desc->callbackFunc; - void *callbackArg = desc->callbackArg; + RF_CBParam_t callbackArg; + + callbackArg.p = desc->callbackArg; #ifdef SIMULATE int tid;