distroquery_functions.cpp: fix compilter type warning
This commit is contained in:
parent
2118179958
commit
c56b8ac2b9
@ -148,7 +148,7 @@ string urlDecode(string str) {
|
|||||||
char ch;
|
char ch;
|
||||||
unsigned int ii;
|
unsigned int ii;
|
||||||
|
|
||||||
for (int i=0; i < str.length(); i++){
|
for (size_t i=0; i < str.length(); i++) {
|
||||||
if (str[i] != '%') {
|
if (str[i] != '%') {
|
||||||
if (str[i] == '+')
|
if (str[i] == '+')
|
||||||
ret += ' ';
|
ret += ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user