gcc4.7.3 complains about the asserts

'error: comparison is always true due to limited range of data type'

So just make the underlying type be 'signed int'

Change-Id: Ibf4ff72d85d33e88b7506289c622d34773ca259a