]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Stop gcc complaining.
authorJulian Seward <jseward@acm.org>
Thu, 15 Dec 2005 13:58:07 +0000 (13:58 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 15 Dec 2005 13:58:07 +0000 (13:58 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1493

VEX/priv/host-ppc32/hdefs.c

index 302ef6680444248e784db1defb8eb3d5a253bc13..842929f3bfcecc3dfa00cebabe4120ce7184af35 100644 (file)
@@ -1296,7 +1296,7 @@ void ppPPC32Instr ( PPC32Instr* i, Bool mode64 )
       Bool idxd = toBool(i->Pin.Load.src->tag == Pam_RR);
       UChar sz = i->Pin.Load.sz;
       UChar c_sz = sz==1 ? 'b' : sz==2 ? 'h' : sz==4 ? 'w' : 'd';
-      UChar* s_syned = i->Pin.Load.syned ? "a" : sz==8 ? "" : "z";
+      HChar* s_syned = i->Pin.Load.syned ? "a" : sz==8 ? "" : "z";
       vex_printf("l%c%s%s ", c_sz, s_syned, idxd ? "x" : "" );
       ppHRegPPC32(i->Pin.Load.dst);
       vex_printf(",");