aports/testing/softhsm/fix-objstoretest.patch
tcely c8bd77645a testing/softhsm: fix test failure on x86
The conversion of an int to long long for some reason caused this test
failure. Why this is not also a problem on x86_64 is still a mystery to me.
2018-04-13 05:15:15 +00:00

14 lines
580 B
Diff

diff --git a/src/lib/object_store/test/DBTests.cpp b/src/lib/object_store/test/DBTests.cpp
index d787a83..0e68358 100644
--- a/src/lib/object_store/test/DBTests.cpp
+++ b/src/lib/object_store/test/DBTests.cpp
@@ -348,7 +348,7 @@ void test_a_db_with_a_connection_with_tables::can_update_integer_attribute_bound
// insert integer attribute
statement = connection->prepare(
- "insert into attribute_integer (value,type,object_id) values (%lld,%d,%lld)",
+ "insert into attribute_integer (value,type,object_id) values (%d,%d,%lld)",
1111,
1235,
object_id);