]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a bug introduced in r14913.
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 9 Feb 2015 21:59:00 +0000 (21:59 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 9 Feb 2015 21:59:00 +0000 (21:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14925

coregrind/m_debuginfo/readdwarf.c

index d20748feee8372ef1b240a876e0e9f7f33fb3a43..9af571410d9f22af5f0b316a0a607ddc99576a6f 100644 (file)
@@ -2537,7 +2537,7 @@ static Long step_le_s_encoded_literal ( DiCursor* data, UInt size )
    ULong u64 = step_le_u_encoded_literal( data, size );
    Long s64;
    switch (size) {
-      case 8:  break;
+      case 8:  s64 = u64; break;
       case 4:  s64 = u64 << 32; s64 >>= 32; break;
       case 2:  s64 = u64 << 48; s64 >>= 48; break;
       case 1:  s64 = u64 << 56; s64 >>= 56; break;