Skip to content

Commit

Permalink
update for JuliaLang#19449
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jan 4, 2017
1 parent 99df47c commit 9945ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZMQ.jl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ type Message <: AbstractArray{UInt8,1}
# or even written to after the message is sent!)
Message(m::String) = Message(m, unsafe_convert(Ptr{UInt8}, pointer(m)), sizeof(m))
Message{T<:String}(p::SubString{T}) =
Message(p, pointer(p.string.data)+p.offset, sizeof(p))
Message(p, pointer(p.string)+p.offset, sizeof(p))
Message(a::Array) = Message(a, pointer(a), sizeof(a))
function Message(io::IOBuffer)
if !io.readable || !io.seekable
Expand Down

1 comment on commit 9945ed5

@tkelman
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm going to tag this

Please sign in to comment.