diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-03 09:45:01 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-03 09:45:01 -0400 |
commit | c86c1c8132a0d910cdb314798804d5fe0b270179 (patch) | |
tree | 00499300b9948fa12a4bf0385ce9beecb951db6a /core/network.c | |
parent | 1767fd574e11c6ae8ef549f51e8a5b9eef1c6f88 (diff) |
TODO updated.
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(); |