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:
parent
f666ffd0b7
commit
0641291ad5
@ -430,7 +430,7 @@ static void draw_statusbar(void)
|
|||||||
{
|
{
|
||||||
static const char *help_text = "Press ? for help";
|
static const char *help_text = "Press ? for help";
|
||||||
char s[27];
|
char s[27];
|
||||||
time_t t = time(0);
|
time_t t = time(NULL);
|
||||||
|
|
||||||
apply_layout(LAYOUT_STATUSBAR);
|
apply_layout(LAYOUT_STATUSBAR);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user