diff options
Diffstat (limited to 'sal/qa')
-rw-r--r-- | sal/qa/inc/valueequal.hxx | 2 | ||||
-rw-r--r-- | sal/qa/rtl/oustring/rtl_OUString2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/inc/valueequal.hxx b/sal/qa/inc/valueequal.hxx index 752a875e8058..2f39594529a6 100644 --- a/sal/qa/inc/valueequal.hxx +++ b/sal/qa/inc/valueequal.hxx @@ -71,7 +71,7 @@ bool is_equal(T x, T y, sal_Int16 _nPrec) sal_Int32 nPrecOfN = -nPRECISION + nBeforeDot; if (_nPrec != PREC_long_double) - printf("nPrecOfN is %d\n", nPrecOfN); + printf("nPrecOfN is %" SAL_PRIdINT32 "\n", nPrecOfN); double nPrec = pow(0.1, -nPrecOfN); diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx index 3fd8eba3a3bb..fb86b08c4950 100644 --- a/sal/qa/rtl/oustring/rtl_OUString2.cxx +++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx @@ -862,7 +862,7 @@ public: rtl::OUString suToken = suTokenStr.getToken( 0, ';', nIndex ); } while ( nIndex >= 0 ); - printf("Index %d\n", nIndex); + printf("Index %" SAL_PRIdINT32 "\n", nIndex); // should not GPF } |