TCG variable type checking.

Signed-off-by: Paul Brook <paul@codesourcery.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5729 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 9582f4f..b8f4b5e 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -19,6 +19,7 @@
  */
 #include "exec.h"
 #include "host-utils.h"
+#include "helper.h"
 
 #include "helper_regs.h"
 #include "op_helper.h"
@@ -62,7 +63,7 @@
 
 /*****************************************************************************/
 /* Registers load and stores */
-uint32_t helper_load_cr (void)
+target_ulong helper_load_cr (void)
 {
     return (env->crf[0] << 28) |
            (env->crf[1] << 24) |