Constify format string pointer, otherwise this would trigger warning when
higher warning level is enabled.
This commit is contained in:
parent
44778f4664
commit
1128849cbd
@ -58,7 +58,7 @@ pr_attime(time_t *started, time_t *now)
|
|||||||
static wchar_t buf[256];
|
static wchar_t buf[256];
|
||||||
struct tm tp, tm;
|
struct tm tp, tm;
|
||||||
time_t diff;
|
time_t diff;
|
||||||
wchar_t *fmt;
|
const wchar_t *fmt;
|
||||||
int len, width, offset = 0;
|
int len, width, offset = 0;
|
||||||
|
|
||||||
tp = *localtime(started);
|
tp = *localtime(started);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user