Avoid signedness related warnings with typedefs