From c425e87af7b639458d253e6db15798adca3bfe76 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 4 Jun 2018 15:07:13 +0200 Subject: [PATCH] Add cast to satisfy gcc -Wsign-compare --- tests/suites/test_suite_psa_crypto.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_psa_crypto.function b/tests/suites/test_suite_psa_crypto.function index 65b4739cb..8c29f1d2e 100644 --- a/tests/suites/test_suite_psa_crypto.function +++ b/tests/suites/test_suite_psa_crypto.function @@ -581,7 +581,7 @@ void import_export_public_key( char *hex, goto destroy; - TEST_ASSERT( exported_length == public_key_expected_length ); + TEST_ASSERT( exported_length == (size_t) public_key_expected_length ); destroy: /* Destroy the key */