Fixed bug in HIRES2 test. Use unsigned integers in some of the for loops.