distroquery_functions.cpp: fix compilter type warning

This commit is contained in:
Silvan 2024-11-03 09:54:00 +01:00
parent 2118179958
commit c56b8ac2b9

View File

@ -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 += ' ';