]> git.proxmox.com Git - qemu.git/commitdiff
target-sparc: Fix compilation with --enable-debug.
authorRichard Henderson <rth@twiddle.net>
Wed, 12 May 2010 18:04:25 +0000 (11:04 -0700)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 19 May 2010 19:03:33 +0000 (19:03 +0000)
Return a target_ulong from compute_C_icc to match the width of the users.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/helper.h
target-sparc/op_helper.c

index 6f103e76977243af85cfb6efe97a0d54aed7b6a8..04c1306d696fde70d32b5ed11a4612e487831694 100644 (file)
@@ -158,6 +158,6 @@ VIS_CMPHELPER(cmpne);
 #undef VIS_HELPER
 #undef VIS_CMPHELPER
 DEF_HELPER_0(compute_psr, void);
-DEF_HELPER_0(compute_C_icc, i32);
+DEF_HELPER_0(compute_C_icc, tl);
 
 #include "def-helper.h"
index b1451d346f8936f59ffaae16b445ac07d5ad99d8..26e836b5a146d792e96bf0371972ab7a717054e4 100644 (file)
@@ -1287,7 +1287,7 @@ void helper_compute_psr(void)
     CC_OP = CC_OP_FLAGS;
 }
 
-uint32_t helper_compute_C_icc(void)
+target_ulong helper_compute_C_icc(void)
 {
     uint32_t ret;