From: Florian Krohm Date: Sat, 4 Oct 2014 21:08:42 +0000 (+0000) Subject: The XArray element type of variable "described" is HChar not UChar. X-Git-Tag: svn/VALGRIND_3_11_0~944 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af502ff149a344849247585b1bb972b70de7a95;p=thirdparty%2Fvalgrind.git The XArray element type of variable "described" is HChar not UChar. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14598 --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index d081f27a78..acc165a6b9 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -3074,7 +3074,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, DiVariable* var, PtrdiffT var_offset, PtrdiffT residual_offset, - XArray* /*UChar*/ described, + XArray* /*HChar*/ described, Int frameNo, ThreadId tid ) { @@ -3102,7 +3102,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, vg_assert(described); vg_assert(var && var->name); have_descr = VG_(sizeXA)(described) > 0 - && *(UChar*)VG_(indexXA)(described,0) != '\0'; + && *(HChar*)VG_(indexXA)(described,0) != '\0'; have_srcloc = var->fndn_ix > 0 && var->lineNo > 0; tagL[0] = tagR[0] = xagL[0] = xagR[0] = 0;