aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ffi.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-10 08:10:56 -0400
committerJack Lloyd <[email protected]>2017-09-10 08:10:56 -0400
commit54ddc8ea26bcfbf55c15a943c44a4a8b233608cd (patch)
tree62d4e921d59ae86843609747ffe96d5c94d306ec /src/tests/test_ffi.cpp
parent00e1694e0127c394934c9d4a5b797eba31a00ff8 (diff)
Fix bogus ffi test
Caught by a warning from VC
Diffstat (limited to 'src/tests/test_ffi.cpp')
-rw-r--r--src/tests/test_ffi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ffi.cpp b/src/tests/test_ffi.cpp
index c0b3de808..caf3fe460 100644
--- a/src/tests/test_ffi.cpp
+++ b/src/tests/test_ffi.cpp
@@ -816,7 +816,7 @@ class FFI_Unit_Tests : public Test
uint32_t x_32;
TEST_FFI_OK(botan_mp_to_uint32, (x, &x_32));
- result.test_eq("botan_mp_to_uint32", x, static_cast<size_t>(0x103));
+ result.test_eq("botan_mp_to_uint32", size_t(x_32), size_t(0x103));
TEST_FFI_RC(1, botan_mp_get_bit, (x, 1));
TEST_FFI_RC(0, botan_mp_get_bit, (x, 87));