Fix 32-bit builds

Making the signedness explicit should fix this… I think