From 20b6900fb181f71eca4577a5f1e1f5f3ecd6a28b Mon Sep 17 00:00:00 2001 From: irungentoo Date: Fri, 20 Sep 2013 11:33:53 -0400 Subject: [PATCH] Fixed bug. --- toxcore/Lossless_UDP.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) * TODO: make this better */ -static uint8_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value) +static uint32_t randtable_initget(Lossless_UDP *ludp, uint32_t index, uint8_t value) { if (ludp->randtable[index][value] == 0) ludp->randtable[index][value] = random_int();