summaryrefslogtreecommitdiffstats
path: root/x11vnc/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/cursor.c')
-rw-r--r--x11vnc/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/cursor.c b/x11vnc/cursor.c
index e9a2d54..2c2a763 100644
--- a/x11vnc/cursor.c
+++ b/x11vnc/cursor.c
@@ -1262,7 +1262,7 @@ static int get_xfixes_cursor(int init) {
oldest++;
}
oldtime = curs_times[oldest];
- now = time(0);
+ now = time(NULL);
for (i = CURS_DYN_MIN; i <= CURS_DYN_MAX; i++) {
if (screen && screen->cursor == cursors[i]->rfb) {
;
OpenPOWER on IntegriCloud