From 2c28bbc2b337298c83189d2e6d976a96a95a59db Mon Sep 17 00:00:00 2001 From: mrg Date: Fri, 1 Aug 2003 13:20:35 +0000 Subject: [PATCH] avoid a gcc3.3 warning --- sys/arch/i386/i386/math_emu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/math_emu.h b/sys/arch/i386/i386/math_emu.h index 87c0e228478d..2546cd1b5a31 100644 --- a/sys/arch/i386/i386/math_emu.h +++ b/sys/arch/i386/i386/math_emu.h @@ -1,4 +1,4 @@ -/* $NetBSD: math_emu.h,v 1.6 1999/04/22 00:23:33 fvdl Exp $ */ +/* $NetBSD: math_emu.h,v 1.7 2003/08/01 13:20:35 mrg Exp $ */ /* * linux/include/linux/math_emu.h @@ -29,7 +29,7 @@ typedef struct { } temp_real_unaligned; #define real_to_real(a,b) \ -((*(long long *) (b) = *(long long *) (a)),((b)->exponent = (a)->exponent)) +((*(long long *)(void *) (b) = *(long long *)(void *) (a)),((b)->exponent = (a)->exponent)) typedef struct { long a,b;