Skip to content

Commit

Permalink
Merge pull request #48901 from JuliaLang/sf/jl_total_bytes
Browse files Browse the repository at this point in the history
Make `jit_total_bytes()` return a `UInt` instead of an `Int`
  • Loading branch information
staticfloat authored Mar 5, 2023
2 parents ae751e1 + 24b9dd0 commit 0f7b419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/timing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Return the total amount (in bytes) allocated by the just-in-time compiler
for e.g. native code and data.
"""
function jit_total_bytes()
return Int(ccall(:jl_jit_total_bytes, Csize_t, ()))
return ccall(:jl_jit_total_bytes, Csize_t, ())
end

# print elapsed time, return expression value
Expand Down

0 comments on commit 0f7b419

Please sign in to comment.