Skip to content

Commit

Permalink
Try to fix StringVector usage in 32-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
jaakkor2 committed Oct 11, 2024
1 parent 83e25d2 commit 75b53b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function check_magic(io)
end

function to_str(buffer, n, lengths::AbstractVector)
str = StringVector{String}(buffer, n)
str = StringVector{String}(buffer, Int(n))
str.lengths .= lengths
offset = UInt64(0)
@inbounds for i in 1:n
Expand Down

0 comments on commit 75b53b5

Please sign in to comment.