Skip to content

Commit

Permalink
using Any in place of Ref is only valid after #2818 is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash committed Mar 15, 2015
1 parent 6bf81b3 commit 76df7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ function dllist()
@linux_only begin
const callback = cfunction(dl_phdr_info_callback, Cint,
(Ref{dl_phdr_info}, Csize_t, Ref{Array{AbstractString,1}} ))
ccall(:dl_iterate_phdr, Cint, (Ptr{Void}, Any), callback, dynamic_libraries)
ccall(:dl_iterate_phdr, Cint, (Ptr{Void}, Ref{Array{AbstractString,1}}), callback, dynamic_libraries)
end

@osx_only begin
Expand Down

2 comments on commit 76df7f4

@tkelman
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vtjnash
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes (same as the Travis failure)

Please sign in to comment.