Commit e31058d4 authored by Wayne Davison's avatar Wayne Davison

Cast some time values to (int), just to silence some warnings on

Stratus VOS.
parent ea8291d8
...@@ -100,12 +100,12 @@ static void list_file(const char *fname) ...@@ -100,12 +100,12 @@ static void list_file(const char *fname)
mt = gmtime(&buf.st_mtime); mt = gmtime(&buf.st_mtime);
sprintf(datebuf, "%04d-%02d-%02d %02d:%02d:%02d", sprintf(datebuf, "%04d-%02d-%02d %02d:%02d:%02d",
mt->tm_year + 1900, (int)mt->tm_year + 1900,
mt->tm_mon + 1, (int)mt->tm_mon + 1,
mt->tm_mday, (int)mt->tm_mday,
mt->tm_hour, (int)mt->tm_hour,
mt->tm_min, (int)mt->tm_min,
mt->tm_sec); (int)mt->tm_sec);
} else { } else {
strcpy(datebuf, " "); strcpy(datebuf, " ");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment