Skip to content

Commit

Permalink
Minor, fix signed vs unsigned warning
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Jan 31, 2021
1 parent 76b0f0e commit b7d616a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ddns.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ static int is_address_valid(int family, const char *host)
"2606:4700:4700::6400"
};

for (int i = 0; i < NELEMS(except); i++) {
for (size_t i = 0; i < NELEMS(except); i++) {
if (!strncmp(host, except[i], strlen(host))) {
return 0;
}
Expand Down

0 comments on commit b7d616a

Please sign in to comment.