summaryrefslogtreecommitdiffstats
path: root/sal/qa
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-06 13:09:43 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-06 15:30:03 +0200
commit73090aae235d69e394c56be3f90c8433247c0f48 (patch)
tree3b6795d2567fd9019fdf2dbc9a8abe8b3e9aacc3 /sal/qa
parentsal_Bool to bool (diff)
downloadcore-73090aae235d69e394c56be3f90c8433247c0f48.tar.gz
core-73090aae235d69e394c56be3f90c8433247c0f48.zip
WaE: format specifies type 'int' but the argument has type 'sal_Int32' (aka 'long')
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/rtl/doublelock/rtl_doublelocking.cxx8
1 files changed, 4 insertions, 4 deletions
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;