summaryrefslogtreecommitdiff
path: root/core/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/network.c')
-rw-r--r--core/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/network.c b/core/network.c
index e7999416..35257d54 100644
--- a/core/network.c
+++ b/core/network.c
@@ -40,10 +40,10 @@ uint64_t current_time()
40 40
41} 41}
42 42
43int random_int() 43uint32_t random_int()
44{ 44{
45 #ifdef WIN32 45 #ifdef WIN32
46 //TODO replace rand with a more random windows function 46 //TODO replace rand with something cryptograhically secure
47 return rand(); 47 return rand();
48 #else 48 #else
49 return random(); 49 return random();