Fix build of jsonproc

- Changing uint to unsigned int, as uint is not standard.
This commit is contained in:
tustin2121 2022-11-02 12:39:32 -04:00
parent d90132842a
commit f4f9329653
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ int main(int argc, char *argv[])
env.add_callback("cleanString", 1, [](Arguments& args) {
string badChars = ".'{} \n\t-\u00e9";
string str = args.at(0)->get<string>();
for (uint i = 0; i < str.length(); i++) {
for (unsigned int i = 0; i < str.length(); i++) {
if (badChars.find(str[i]) != std::string::npos) {
str[i] = '_';
}