summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/misc/json_writer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/misc/json_writer.cxx b/tools/source/misc/json_writer.cxx
index aacf3f709c90..e815a0b6b173 100644
--- a/tools/source/misc/json_writer.cxx
+++ b/tools/source/misc/json_writer.cxx
@@ -286,7 +286,7 @@ void JsonWriter::put(const char* pPropName, sal_Int64 nPropVal)
memcpy(mPos, "\": ", 3);
mPos += 3;
- mPos += sprintf(mPos, "%ld", nPropVal);
+ mPos += sprintf(mPos, "%" SAL_PRIdINT64, nPropVal);
}
void JsonWriter::put(const char* pPropName, double fPropVal)