diff options
Diffstat (limited to 'core/network.c')
-rw-r--r-- | core/network.c | 4 |
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 | ||
43 | int random_int() | 43 | uint32_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(); |