Change return type to int32.