diff options
-rw-r--r-- | vcl/unx/generic/app/sm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index be572f29a7c6..b86435fbaf73 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -358,7 +358,7 @@ void SessionManagerClient::SaveYourselfProc( (interact_style == SmInteractStyleErrors) ? "SmInteractStyleErrors" : "SmInteractStyleAny")); char num[100]; - snprintf(num, sizeof(num), "_%d_%d", now.Seconds, (now.Nanosec / 1000)); + snprintf(num, sizeof(num), "_%" SAL_PRIuUINT32 "_%" SAL_PRIuUINT32, now.Seconds, (now.Nanosec / 1001)); m_aTimeID = OString(num); BuildSmPropertyList(); |