aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-12-03 18:58:43 +0000
committerSergio Martins <smartins@kde.org>2018-12-03 18:59:30 +0000
commitad8e58e41537a9656b7924b5447fdb6e7bbad43e (patch)
tree5ca0aa790496c3c14df51731871bb1c1edc97141
parent8dc3294379f0a2a95fc49573512ee1514bae13d7 (diff)
inefficient-qlist: Fix unit-tests on 32-bit.
BUG: 401494
-rw-r--r--tests/inefficient-qlist-soft/main.cpp2
-rw-r--r--tests/inefficient-qlist/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/inefficient-qlist-soft/main.cpp b/tests/inefficient-qlist-soft/main.cpp
index da287a59..9da19d0d 100644
--- a/tests/inefficient-qlist-soft/main.cpp
+++ b/tests/inefficient-qlist-soft/main.cpp
@@ -10,7 +10,7 @@
struct SmallType {
- char a[8];
+ char a[sizeof(void*)];
};
diff --git a/tests/inefficient-qlist/main.cpp b/tests/inefficient-qlist/main.cpp
index 1fcea58e..a451f0e3 100644
--- a/tests/inefficient-qlist/main.cpp
+++ b/tests/inefficient-qlist/main.cpp
@@ -10,7 +10,7 @@
struct SmallType {
- char a[8];
+ char a[sizeof(void*)];
};