From 5d3cd95a7842e9dc300c1533e559316a310f0945 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Mon, 12 Nov 2018 08:50:23 +0100 Subject: [PATCH] Fixed warning --- source/shared_lib/sources/util/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/util/util.cpp b/source/shared_lib/sources/util/util.cpp index 34ab88d2c..4067bedc4 100644 --- a/source/shared_lib/sources/util/util.cpp +++ b/source/shared_lib/sources/util/util.cpp @@ -794,7 +794,7 @@ namespace Shared { string trimAllExceptNumbersAndPeriods(string str) { char current; - int startIndex, endIndex; + size_t startIndex, endIndex; for (startIndex = 0; startIndex < str.length(); startIndex++) { current = str[startIndex]; if ((current >= '0' && current <= '9') || current == '.')