mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
Fixed warning
This commit is contained in:
@@ -794,7 +794,7 @@ namespace Shared {
|
|||||||
|
|
||||||
string trimAllExceptNumbersAndPeriods(string str) {
|
string trimAllExceptNumbersAndPeriods(string str) {
|
||||||
char current;
|
char current;
|
||||||
int startIndex, endIndex;
|
size_t startIndex, endIndex;
|
||||||
for (startIndex = 0; startIndex < str.length(); startIndex++) {
|
for (startIndex = 0; startIndex < str.length(); startIndex++) {
|
||||||
current = str[startIndex];
|
current = str[startIndex];
|
||||||
if ((current >= '0' && current <= '9') || current == '.')
|
if ((current >= '0' && current <= '9') || current == '.')
|
||||||
|
Reference in New Issue
Block a user