sal/qa/rtl/ostring/rtl_str.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7f4ecf3263db9f40fcb5f02e62fdb45c1fc355bc
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Mar 24 07:53:11 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Mar 24 08:47:55 2022 +0100

    -Werror,-Wformat
    
    Change-Id: Ifb282ae907495ab21f3a91b1cae1c34443cb3626
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132018
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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);
             }
 

Reply via email to