diff --git a/simgear/structure/SGSmplhist.cxx b/simgear/structure/SGSmplhist.cxx index 8a976cea..769d2564 100644 --- a/simgear/structure/SGSmplhist.cxx +++ b/simgear/structure/SGSmplhist.cxx @@ -116,7 +116,7 @@ void SampleHistogram::reset () this->SampleStatistic::reset (); if (howManyBuckets > 0) { - for (register int i = 0; i < howManyBuckets; i++) + for (int i = 0; i < howManyBuckets; i++) { bucketCount[i] = 0; }