Fix signedness issue