Try to fix most warnings in the OBS builds (#4284)

This commit is contained in:
Flössie
2018-01-08 18:17:12 +01:00
parent 3755f5c18e
commit e58cecbf06
3 changed files with 35 additions and 26 deletions

View File

@@ -373,7 +373,7 @@ Glib::ustring BatchQueue::getTempFilenameForParams( const Glib::ustring &filenam
{
timeval tv;
gettimeofday(&tv, nullptr);
char mseconds[4];
char mseconds[11];
sprintf(mseconds, "%d", (int)(tv.tv_usec / 1000));
time_t rawtime;
struct tm *timeinfo;