From 73090aae235d69e394c56be3f90c8433247c0f48 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 6 Jan 2013 13:09:43 +0200 Subject: WaE: format specifies type 'int' but the argument has type 'sal_Int32' (aka 'long') --- sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sal') diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index 756711739143..f380a7943aba 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -207,8 +207,8 @@ namespace rtl_DoubleLocking nValueOK2 = p2Thread->getOK(); #if OSL_DEBUG_LEVEL > 2 - printf("Value in Thread #1 is %d\n", nValueOK); - printf("Value in Thread #2 is %d\n", nValueOK2); + printf("Value in Thread #1 is %" SAL_PRIdINT32 "\n", nValueOK); + printf("Value in Thread #2 is %" SAL_PRIdINT32 "\n", nValueOK2); #else (void)nValueOK2; #endif @@ -220,8 +220,8 @@ namespace rtl_DoubleLocking nValueFails2 = p2Thread->getFails(); #if OSL_DEBUG_LEVEL > 2 - printf("Fails in Thread #1 is %d\n", nValueFails); - printf("Fails in Thread #2 is %d\n", nValueFails2); + printf("Fails in Thread #1 is %" SAL_PRIdINT32 "\n", nValueFails); + printf("Fails in Thread #2 is %" SAL_PRIdINT32 "\n", nValueFails2); #endif delete pThread; -- cgit