Skip to content

Commit

Permalink
Merge pull request #107 from sunoru/patch-1
Browse files Browse the repository at this point in the history
Fix UndefVarError: `zError` not defined
  • Loading branch information
sjkelly authored Oct 4, 2023
2 parents 039ee2a + dd32121 commit c6f29bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ else
end

# Zlib errors as Exceptions
zerror(e::Integer) = unsafe_string(zError(e))
zerror(e::Integer) = unsafe_string(Zlib_h.zError(e))
mutable struct ZError <: Exception
err::Cint
err_str::AbstractString
Expand Down

0 comments on commit c6f29bd

Please sign in to comment.