Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2015-10-22 11:32:27 +0300
committerEion Robb <eion@robbmob.com>2015-10-22 11:32:27 +0300
commita8db9919da2f5a2fd88cf6d12a0d0ab4ad0ef526 (patch)
treed6931b899a265dc5a7595a16f6f2d109848266d0 /updates.c
parent5b725d288f59ada3f8905a73182fe57ae8c22986 (diff)
Allow compiling on Windows
Diffstat (limited to 'updates.c')
-rw-r--r--updates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updates.c b/updates.c
index bf9a577..8d11ae1 100644
--- a/updates.c
+++ b/updates.c
@@ -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);