Fixed signed unsigned comparison in Ubuntu 12.04 by changing base parameters to unsigned.