Fixed warning

This commit is contained in:
mathusummut 2018-11-12 08:50:23 +01:00
parent 52db64d005
commit 5d3cd95a78

View File

@ -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 == '.')