home · contact · privacy
Server: Minor data type fix.
[plomrogue] / src / server / run.c
index 708bd961ba89dd62847aa35f0f5711c5ef010319..ea8d608dd4c5003ea142ce77c7bb630ee3503064 100644 (file)
@@ -236,7 +236,7 @@ static int16_t * build_whitelist()
 
 static uint8_t thing_in_whitelist(uint8_t id, int16_t * whitelist)
 {
-    int16_t i;
+    uint16_t i;
     for (i = 0; -1 < whitelist[i]; i++)
     {
         if ((int16_t) id == whitelist[i])