diff --git a/.idea/HexEditor.iml b/.idea/HexEditor.iml deleted file mode 100644 index f08604bb6..000000000 --- a/.idea/HexEditor.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp b/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp index fbd60ae71..63fae43e9 100644 --- a/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp +++ b/tests/pattern_language/include/test_patterns/test_pattern_unions.hpp @@ -9,8 +9,8 @@ namespace hex::test { TestPatternUnions() : TestPattern("Unions") { auto testUnion = create("TestUnion", "testUnion", 0x200, sizeof(u128), nullptr); - auto array = create("s32", "array", 0x200, sizeof(s32[2]), nullptr); - array->setEntries(create("s32", "", 0x200, sizeof(s32), nullptr), 2); + auto array = create("s32", "array", 0x200, sizeof(i32[2]), nullptr); + array->setEntries(create("s32", "", 0x200, sizeof(i32), nullptr), 2); auto variable = create("u128", "variable", 0x200, sizeof(u128), nullptr); testUnion->setMembers({ array, variable });