go32-nat.c (store_register): Cast &a_tss to `char *', to avoid compiler

warning.

config/djgpp/README: Update.
This commit is contained in:
Eli Zaretskii
2002-04-19 19:28:54 +00:00
parent 212a6b8ef7
commit ccd9a834f9
3 changed files with 16 additions and 8 deletions

View File

@@ -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