summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/common/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/random.c b/firmware/common/random.c
index fae1f1dc06..899ce4af4b 100644
--- a/firmware/common/random.c
+++ b/firmware/common/random.c
@@ -140,7 +140,7 @@ static int rand_reload(void)
140 140
141int rand(void) 141int rand(void)
142{ 142{
143 int y; 143 unsigned int y;
144 144
145 if(--left < 0) { 145 if(--left < 0) {
146 y = rand_reload(); 146 y = rand_reload();