Directly convert to a int32 instead of later conversion so that we can return an error if the value is out of range. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Directly convert to a int32 instead of later conversion so that we can return an error if the value is out of range. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>