From e5dcf5d3fee78182fddd3362cb4e0bc137406655 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 7 Feb 2005 03:12:19 +0000 Subject: [PATCH] Typechecker police. git-svn-id: svn://svn.valgrind.org/vex/trunk@862 --- VEX/priv/main/vex_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VEX/priv/main/vex_main.c b/VEX/priv/main/vex_main.c index 78b4fd109..7d7968307 100644 --- a/VEX/priv/main/vex_main.c +++ b/VEX/priv/main/vex_main.c @@ -89,7 +89,7 @@ void LibVEX_Init ( __attribute__ ((noreturn)) void (*failure_exit) ( void ), /* logging output function */ - void (*log_bytes) ( Char*, Int nbytes ), + void (*log_bytes) ( HChar*, Int nbytes ), /* debug paranoia level */ Int debuglevel, /* Are we supporting valgrind checking? */ @@ -212,7 +212,7 @@ VexTranslateResult LibVEX_Translate ( Bool(*)(Addr64), Bool, VexSubArch ); Int (*emit) ( UChar*, Int, HInstr* ); - IRExpr* (*specHelper) ( Char*, IRExpr** ); + IRExpr* (*specHelper) ( HChar*, IRExpr** ); Bool (*preciseMemExnsFn) ( Int, Int ); VexGuestLayout* guest_layout; @@ -404,7 +404,7 @@ VexTranslateResult LibVEX_Translate ( /* HACK */ UChar* p = (UChar*)guest_bytes; UInt guest_bytes_read = (UInt)guest_extents->len[0]; - vex_printf(". 0 %llx %d\n.", guest_bytes_addr, guest_bytes_read ); + vex_printf(". 0 %llx %u\n.", guest_bytes_addr, guest_bytes_read ); for (i = 0; i < guest_bytes_read; i++) vex_printf(" %02x", (Int)p[i] ); vex_printf("\n\n");