fix compiler warning
This commit is contained in:
@@ -2012,7 +2012,7 @@ static bool is_absolute_url(const char *url)
|
||||
char prot[16]; /* URL protocol string storage */
|
||||
char letter; /* used for a silly sscanf */
|
||||
|
||||
return 2 == sscanf(url, "%15[^?&/:]://%c", prot, &letter);
|
||||
return (bool)(2 == sscanf(url, "%15[^?&/:]://%c", prot, &letter));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user