Skip to content

Commit 02e469d

Browse files
committed
Fix issue with << on v1.0
1 parent a31c1d0 commit 02e469d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Unicode_Entities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function _unpackword(v::Vector{UInt8}, w1, w2)
8181
else
8282
pos != 1 && (prevw || v[pos-1]>0x1) && write(io, ' ')
8383
if ch < 0x36
84-
write(io, w2[((ch - 0x25)%UInt16<<8 | v[pos+=1])-255])
84+
write(io, w2[((((ch - 0x25)%UInt16)<<8) | v[pos+=1])-255])
8585
else
8686
write(io, w1[ch - 0x35])
8787
end

0 commit comments

Comments
 (0)