diff --git a/modules/cookies/cookiectl.c b/modules/cookies/cookiectl.c index 7c25f160513c5fcfe36b304ffa6da81c10749037..5db82960dc5d4bbcbee5a63c00c579db14ebc62c 100644 --- a/modules/cookies/cookiectl.c +++ b/modules/cookies/cookiectl.c @@ -182,7 +182,7 @@ static struct kr_cookie_secret *new_sq_from_hexstr(const JsonNode *node) const char *hexstr = node->string_; uint8_t *data = sq->data; - for (int i = 0; i < len; i += 2) { + for (size_t i = 0; i < len; i += 2) { int num = hexbyte2int(hexstr + i); if (num == -1) { free(sq);