summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-24 07:53:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-03-24 08:47:55 +0100
commit7f4ecf3263db9f40fcb5f02e62fdb45c1fc355bc (patch)
treec5529e08261d18feb484b30bbd500ab4a0c5967a /sal
parent7a2c36bb69970f20b4896472e2d5a4e41df95b39 (diff)
-Werror,-Wformat
Change-Id: Ifb282ae907495ab21f3a91b1cae1c34443cb3626 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132018 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/ostring/rtl_str.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}