Constify format string pointer, otherwise this would trigger warning when

higher warning level is enabled.
This commit is contained in:
delphij 2009-09-08 01:11:23 +00:00
parent 44778f4664
commit 1128849cbd

View File

@ -58,7 +58,7 @@ pr_attime(time_t *started, time_t *now)
static wchar_t buf[256];
struct tm tp, tm;
time_t diff;
wchar_t *fmt;
const wchar_t *fmt;
int len, width, offset = 0;
tp = *localtime(started);