From 00c86a37d1b63044e3169d1f2ebec23447c73f79 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 7 Nov 2018 11:09:02 -0200 Subject: support: Fix printf format for TEST_COMPARE_STRING MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following on 32 bits targets: support_test_compare_string.c: In function ‘support_test_compare_string’: support_test_compare_string.c:80:37: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=] printf (" string length: %lu bytes\n", left_length); ~~^ ~~~~~~~~~~~ %u Checked on arm-linux-gnueabihf. * support/support_test_compare_string.c (support_test_compare_string): Fix printf format. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 58dcf0c091..3dcf4b30b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-11-07 Adhemerval Zanella + + * support/support_test_compare_string.c + (support_test_compare_string): Fix printf format. + 2018-11-07 Florian Weimer Implement TEST_COMPARE_STRING. -- cgit 1.4.1