Skip to content

Commit 98aac5b

Browse files
committed
Fix sign/unsigned comparison warning
1 parent 1893118 commit 98aac5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native/mod_manager/mod_manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2157,7 +2157,7 @@ static char *process_appl_cmd(request_rec *r, char **ptr, int status, int *errty
21572157
if (vhost->host != NULL) {
21582158
int start = 0;
21592159
i = 0;
2160-
while (host == NULL && i + start < strlen(vhost->host)) {
2160+
while (host == NULL && (unsigned)(i + start) < strlen(vhost->host)) {
21612161
while (vhost->host[start + i] != ',' && vhost->host[start + i] != '\0') {
21622162
i++;
21632163
}

0 commit comments

Comments
 (0)