Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / DATE
1 27 April 2008