diff options
| author | tcely <tcely@users.noreply.github.com> | 2018-04-13 00:04:05 -0400 |
|---|---|---|
| committer | Timo Teräs <timo.teras@iki.fi> | 2018-04-13 05:15:15 +0000 |
| commit | c8bd77645ac5d34ac80c0b76da0d9582cb19f2ed (patch) | |
| tree | 759b58d5677af9fa8373ff2fd0b1dc1780c924d2 /testing/softhsm/fix-objstoretest.patch | |
| parent | e4e7eafa61015cb5967f7987f640596a6c47ec13 (diff) | |
| download | aports-c8bd77645ac5d34ac80c0b76da0d9582cb19f2ed.tar.bz2 aports-c8bd77645ac5d34ac80c0b76da0d9582cb19f2ed.tar.xz | |
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.
Diffstat (limited to 'testing/softhsm/fix-objstoretest.patch')
| -rw-r--r-- | testing/softhsm/fix-objstoretest.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/softhsm/fix-objstoretest.patch b/testing/softhsm/fix-objstoretest.patch new file mode 100644 index 0000000000..aa0ac6c305 --- /dev/null +++ b/testing/softhsm/fix-objstoretest.patch @@ -0,0 +1,13 @@ +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); |
