From 54ddc8ea26bcfbf55c15a943c44a4a8b233608cd Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 10 Sep 2017 08:10:56 -0400 Subject: Fix bogus ffi test Caught by a warning from VC --- src/tests/test_ffi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test_ffi.cpp') 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(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)); -- cgit v1.2.3