summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/datetime/datetime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/datetime.cxx b/tools/source/datetime/datetime.cxx
index 1dc2b79cb990..b92ce702e3cd 100644
--- a/tools/source/datetime/datetime.cxx
+++ b/tools/source/datetime/datetime.cxx
@@ -304,7 +304,7 @@ DateTime DateTime::CreateFromUnixTime(const double fSecondsSinceEpoch)
Date aDate (1, 1, 1970);
aDate.AddDays(nDays);
- SAL_WARN_IF(aDate - Date(1, 1, 1970) != static_cast<sal_Int32>(nDays), "tools.datetime",
+ SAL_WARN_IF(aDate - Date(1, 1, 1970) != nDays, "tools.datetime",
"DateTime::CreateFromUnixTime - date truncated to max");
fValue -= nDays;