diff options
author | Eion Robb <eion@robbmob.com> | 2015-10-22 11:32:27 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2015-10-22 11:32:27 +0300 |
commit | a8db9919da2f5a2fd88cf6d12a0d0ab4ad0ef526 (patch) | |
tree | d6931b899a265dc5a7595a16f6f2d109848266d0 /updates.c | |
parent | 5b725d288f59ada3f8905a73182fe57ae8c22986 (diff) |
Allow compiling on Windows
Diffstat (limited to 'updates.c')
-rw-r--r-- | updates.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -797,7 +797,7 @@ static void status_notify (struct tgl_state *TLS, void *arg) { void tgl_insert_status_update (struct tgl_state *TLS, struct tgl_user *U) { if (!tree_lookup_user (TLS->online_updates, U)) { - TLS->online_updates = tree_insert_user (TLS->online_updates, U, lrand48 ()); + TLS->online_updates = tree_insert_user (TLS->online_updates, U, rand ()); } if (!TLS->online_updates_timer) { TLS->online_updates_timer = TLS->timer_methods->alloc (TLS, status_notify, 0); |