Fix warning on x64 unix

Originally committed to SVN as r6087.
This commit is contained in:
Thomas Goyne 2011-12-22 21:22:58 +00:00
parent ff32be592f
commit b66357bfb8
1 changed files with 1 additions and 5 deletions

View File

@ -34,10 +34,6 @@ void EmitSTDOUT::log(SinkMessage *sm) {
tm tmtime;
localtime_r(&sm->tv.tv_sec, &tmtime);
// tmtime.tm_year+1900,
// tmtime.tm_mon,
// tmtime.tm_mday,
printf("%c %02d:%02d:%02d %-6ld <%-25s> [%s:%s:%d] %.*s\n",
Severity_ID[sm->severity],
tmtime.tm_hour,
@ -48,7 +44,7 @@ void EmitSTDOUT::log(SinkMessage *sm) {
sm->file,
sm->func,
sm->line,
sm->len,
(int)sm->len,
sm->message);
}