From 4401720aa00913507a25c24772bc7c4e865267f3 Mon Sep 17 00:00:00 2001 From: jiung-yu Date: Fri, 2 Sep 2022 07:22:49 +0900 Subject: [PATCH] Change type from int to size_t Change-Id: I5b1d33f9b0dc9cc9e1ae6ef3cbae781026ff479b --- toys/pending/dhcpd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toys/pending/dhcpd.c b/toys/pending/dhcpd.c index bf3f2eb..213a941 100644 --- a/toys/pending/dhcpd.c +++ b/toys/pending/dhcpd.c @@ -741,7 +741,8 @@ static int parse_server_config(char *config_file, struct config_keyword *confkey { FILE *fs = NULL; char *confline_temp = NULL,*confline = NULL, *tk = NULL, *tokens[2] = {NULL, NULL}; - int len, linelen, tcount, count, size = ARRAY_LEN(keywords); + int len, tcount, count, size = ARRAY_LEN(keywords); + size_t linelen; for (count = 0; count < size; count++) if (confkey[count].handler) -- 2.7.4