sim: cgen-accfp: Fix pointer sign warnings
authorStafford Horne <shorne@gmail.com>
Tue, 3 Oct 2017 15:44:37 +0000 (00:44 +0900)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Jan 2021 20:26:58 +0000 (15:26 -0500)
commit5bc4f5ca1554779f4e83702a4d92babd370384cd
tree6ba3aa5f159913d6fb1636392d8de6f3d4db6a55
parent5f05936d9b14d2a75eaea7cc396052de268f8503
sim: cgen-accfp: Fix pointer sign warnings

When compiling we get the following warnings:

  common/cgen-accfp.c: In function 'fixsfsi':
  common/cgen-accfp.c:370:18: warning: pointer targets in passing argument 1 of 'sim_fpu_to32i' differ in signedness [-Wpointer-sign]
     sim_fpu_to32i (&res, &op1, sim_fpu_round_near);
                    ^
  common/cgen-accfp.c: In function 'fixdfsi':
  common/cgen-accfp.c:381:18: warning: pointer targets in passing argument 1 of 'sim_fpu_to32i' differ in signedness [-Wpointer-sign]
     sim_fpu_to32i (&res, &op1, sim_fpu_round_near);
                    ^
sim/common/ChangeLog
sim/common/cgen-accfp.c