forked from Imagelibrary/binutils-gdb
go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler
warning. config/djgpp/README: Update.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user