]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a few Char/Hchar mixups in exp-sgcheck.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 18 Oct 2012 03:46:42 +0000 (03:46 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 18 Oct 2012 03:46:42 +0000 (03:46 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13056

exp-sgcheck/pc_common.c
exp-sgcheck/pc_common.h

index f2b8057be2133ce8b7de0c62ef7f4fde89b4b85e..c8769f8e8fe84a3e4a8ec4ed6a026a189aa6b440 100644 (file)
@@ -293,7 +293,7 @@ static void emiN ( HChar* format, ... ) /* With NO FORMAT CHECK */
 }
 
 
-static Char* readwrite(SSizeT sszB)
+static HChar* readwrite(SSizeT sszB)
 {
    return ( sszB < 0 ? "write" : "read" );
 }
@@ -348,7 +348,7 @@ void pc_pp_Error ( Error* err )
 
    //----------------------------------------------------------
    case XE_Heap: {
-      Char *place, *legit, *how_invalid;
+      HChar *place, *legit, *how_invalid;
       Addr a    = xe->XE.Heap.addr;
       Seg* vseg = xe->XE.Heap.vseg;
 
@@ -468,7 +468,7 @@ void pc_pp_Error ( Error* err )
    case XE_Arith: {
       Seg*   seg1   = xe->XE.Arith.seg1;
       Seg*   seg2   = xe->XE.Arith.seg2;
-      Char*  which;
+      HChar*  which;
 
       tl_assert(BOTTOM != seg1);
       tl_assert(BOTTOM != seg2 && UNKNOWN != seg2);
@@ -545,7 +545,7 @@ void pc_pp_Error ( Error* err )
       Seg*  seglo = xe->XE.SysParam.seglo;
       Seg*  seghi = xe->XE.SysParam.seghi;
       Char* s     = VG_(get_error_string) (err);
-      Char* what;
+      HChar* what;
 
       tl_assert(BOTTOM != seglo && BOTTOM != seghi);
 
@@ -764,7 +764,7 @@ Bool pc_error_matches_suppression (Error* err, Supp* su)
    }
 }
 
-Char* pc_get_error_name ( Error* err )
+HChar* pc_get_error_name ( Error* err )
 {
    XError *xe = (XError*)VG_(get_error_extra)(err);
    tl_assert(xe);
index cf4059b68f77d10c2f53027d21744bef8051e7cc..e1c8c0bc58ff87cb62a9dbd14cf42ce998b3dbfe 100644 (file)
@@ -55,7 +55,7 @@ Bool pc_is_recognised_suppression ( Char* name, Supp *su );
 Bool pc_read_extra_suppression_info ( Int fd, Char** bufpp, 
                                       SizeT* nBufp, Supp* su );
 Bool pc_error_matches_suppression (Error* err, Supp* su);
-Char* pc_get_error_name ( Error* err );
+HChar* pc_get_error_name ( Error* err );
 Bool pc_get_extra_suppression_info ( Error* err,
                                      /*OUT*/Char* buf, Int nBuf );