From 9969d5d37350083a0f49e7e68f81ea99ecca9f26 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 19 Apr 2002 19:28:54 +0000 Subject: go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler warning. config/djgpp/README: Update. --- gdb/go32-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/go32-nat.c') diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index 31ac8d350a0..7b64b17406e 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -491,7 +491,7 @@ static void store_register (int regno) { if (regno < FP0_REGNUM) - regcache_collect (regno, (void *) &a_tss + regno_mapping[regno].tss_ofs); + regcache_collect (regno, (char *) &a_tss + regno_mapping[regno].tss_ofs); else if (FP_REGNUM_P (regno) || FPC_REGNUM_P (regno)) i387_fill_fsave ((char *) &npx, regno); else -- cgit v1.2.1