From 7f4ecf3263db9f40fcb5f02e62fdb45c1fc355bc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 24 Mar 2022 07:53:11 +0100 Subject: -Werror,-Wformat Change-Id: Ifb282ae907495ab21f3a91b1cae1c34443cb3626 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132018 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sal/qa/rtl/ostring/rtl_str.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') diff --git a/sal/qa/rtl/ostring/rtl_str.cxx b/sal/qa/rtl/ostring/rtl_str.cxx index 7b1094a3ca25..f7af2200833f 100644 --- a/sal/qa/rtl/ostring/rtl_str.cxx +++ b/sal/qa/rtl/ostring/rtl_str.cxx @@ -204,7 +204,7 @@ namespace rtl_str { OString aStr1 = "Line for a hashCode."; sal_Int32 nHashCode = rtl_str_hashCode( aStr1.getStr() ); - printf("hashcode: %d\n", nHashCode); + printf("hashcode: %" SAL_PRIdINT32 "\n", nHashCode); // CPPUNIT_ASSERT_MESSAGE("failed.", nValue == 0); } -- cgit