summaryrefslogtreecommitdiffstats
path: root/x11vnc/8to24.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/8to24.c')
-rw-r--r--x11vnc/8to24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c
index 5304a52..b7efdab 100644
--- a/x11vnc/8to24.c
+++ b/x11vnc/8to24.c
@@ -65,7 +65,7 @@ static unsigned int root_rgb[NCOLOR];
static void set_root_cmap(void) {
static time_t last_set = 0;
- time_t now = time(0);
+ time_t now = time(NULL);
XWindowAttributes attr;
static XColor color[NCOLOR];
int redo = 0;
OpenPOWER on IntegriCloud