summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/performance/ubtest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index c30f31ba7150..38950b8bda5d 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -153,7 +153,7 @@ static inline void out( sal_Int64 nVal, FILE * stream = stderr,
sal_Int32 nStart = -1, char cFillchar = ' ' )
{
char ar[128];
- ::snprintf( ar, sizeof(ar), "%ld", nVal );
+ ::snprintf( ar, sizeof(ar), "%" SAL_PRIdINT64, nVal );
out( ar, stream, nStart, cFillchar );
}