curses: Pass in proper NULL pointer

Fix sparse warning:
out_curses.c:433:25: warning: Using plain integer as NULL pointer

Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
Thomas Graf 2015-12-16 14:01:51 +01:00
parent f666ffd0b7
commit 0641291ad5

View File

@ -430,7 +430,7 @@ static void draw_statusbar(void)
{
static const char *help_text = "Press ? for help";
char s[27];
time_t t = time(0);
time_t t = time(NULL);
apply_layout(LAYOUT_STATUSBAR);