linux warning bits (trunk only)

a few syntactical tweaks to silence warnings from gcc on linux
for code that was only updated in the trunk
This commit is contained in:
cohrs
2008-01-25 16:47:50 +00:00
parent c68ffb4607
commit 3c73c222da
3 changed files with 3 additions and 3 deletions

View File

@@ -662,7 +662,7 @@ time_t date;
datenum = (long)lt->tm_year + 2000L;
else
datenum = (long)lt->tm_year + 1900L;
Sprintf(datestr, "%04d%02d%02d%02d%02d%02d",
Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d",
datenum, lt->tm_mon + 1, lt->tm_mday,
lt->tm_hour, lt->tm_min, lt->tm_sec);
return(datestr);