fixed Array to pointer conversion

according to https://github.com/JuliaLang/julia/commit/8ab8eb0503cb71dce7e2357d31dc693ec714f96e