Skip to content

Commit 3f450e2

Browse files
committed
fix C array length type
1 parent 95cd831 commit 3f450e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/C_JetReconstruction/C_JetReconstruction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function make_c_array(v::Vector{T}) where {T}
115115
for i in 1:len
116116
@inbounds unsafe_store!(ptr, v[i], i)
117117
end
118-
return ptr, len
118+
return ptr, Csize_t(len)
119119
end
120120

121121
"""

0 commit comments

Comments
 (0)