Oh no - I see my problem, I specified jl_int64_type instead of jl_int32_type.
jl_int64_type
jl_int32_type