diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/Lossless_UDP.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Lossless_UDP.c b/toxcore/Lossless_UDP.c index e976370f..83a5b338 100644 --- a/toxcore/Lossless_UDP.c +++ b/toxcore/Lossless_UDP.c | |||
@@ -60,7 +60,7 @@ int getconnection_id(Lossless_UDP *ludp, IP_Port ip_port) | |||
60 | * TODO: make this better | 60 | * TODO: make this better |
61 | */ | 61 | */ |
62 | 62 | ||
63 | static uint8_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value) | 63 | static uint32_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value) |
64 | { | 64 | { |
65 | if (ludp->randtable[index][value] == 0) | 65 | if (ludp->randtable[index][value] == 0) |
66 | ludp->randtable[index][value] = random_int(); | 66 | ludp->randtable[index][value] = random_int(); |