Fixed a 'comparison between signed and unsigned' error.
Authored by: aaronjacobs 2011-05-25
Parent: [r218]
Child: [r220]