From f4f9329653611dcc6fff5568fe5fbf688e9c599e Mon Sep 17 00:00:00 2001 From: tustin2121 Date: Wed, 2 Nov 2022 12:39:32 -0400 Subject: [PATCH] Fix build of jsonproc - Changing uint to unsigned int, as uint is not standard. --- tools/jsonproc/jsonproc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jsonproc/jsonproc.cpp b/tools/jsonproc/jsonproc.cpp index d58e23eb90..23056a5ff3 100755 --- a/tools/jsonproc/jsonproc.cpp +++ b/tools/jsonproc/jsonproc.cpp @@ -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(); - 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] = '_'; }