diff -Nur hearts-1.98-ori/common/general/circular_iterator.h hearts-1.98/common/general/circular_iterator.h --- hearts-1.98-ori/common/general/circular_iterator.h 2004-04-08 19:54:10.000000000 -0400 +++ hearts-1.98/common/general/circular_iterator.h 2005-07-22 20:53:10.000000000 -0400 @@ -137,7 +137,7 @@ inline circular_iterator& circular_iterator::operator += ( circular_iterator::difference_type n ) { n %= last - first; // put it in range - circular_iterator::difference_type d = last - cur; + typename circular_iterator::difference_type d = last - cur; if ( d > n ) { cur += n; return *this;