Fix bug with enum too small
authorTheMatthew <matthew.khouzam@polymtl.ca>
Wed, 4 Dec 2013 21:46:01 +0000 (16:46 -0500)
committerTheMatthew <matthew.khouzam@polymtl.ca>
Wed, 4 Dec 2013 21:46:01 +0000 (16:46 -0500)
The enum should be within 127, -128 with 8 bits

tests/1.8/regression/metadata/fail/enum-values-too-small/metadata

index dc82eda5f5ff8fbefa22917957afcf9e545feb3a..a8316a4c3fa44025fd1a488eb268905fe1fc3421 100644 (file)
@@ -1,7 +1,7 @@
 /* CTF 1.8 */
 typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
 typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t;
-typealias integer { size = 32; align = 32; signed = true; base = hex; } := TYPE;
+typealias integer { size = 8; align = 8; signed = true; base = hex; } := TYPE;
 
 trace {
        major = 0;
This page took 0.023325 seconds and 4 git commands to generate.