Skip to content

Commit

Permalink
fix UInt8 type
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiq committed Nov 15, 2024
1 parent a86f6d2 commit 9968dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trajectory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ format to use when opening the file.
"""
function Trajectory(path::AbstractString, mode::Char='r', format::AbstractString="")
ptr = @__check_ptr(lib.chfl_trajectory_with_format(
pointer(path), Int8(mode), pointer(format),
pointer(path), UInt8(mode), pointer(format),
))
return Trajectory(CxxPointer(ptr, is_const=false), nothing)
end
Expand Down

0 comments on commit 9968dc0

Please sign in to comment.