From: jiung-yu Date: Thu, 1 Sep 2022 22:22:49 +0000 (+0900) Subject: Change type from int to size_t X-Git-Tag: accepted/tizen/7.0/unified/20221110.062039^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_7.0_hotfix;p=platform%2Fupstream%2Ftoybox.git Change type from int to size_t Change-Id: I5b1d33f9b0dc9cc9e1ae6ef3cbae781026ff479b --- 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)