Skip to content

Commit dfffe98

Browse files
arhikmaleadt
authored andcommitted
revert comment inside encode_signed_varint
1 parent 77118eb commit dfffe98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bytecode/writer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Uses zigzag encoding for signed values.
329329
"""
330330

331331
function encode_signed_varint!(buf::Vector{UInt8}, value::Union{UInt16, UInt32, UInt64, Int64})
332-
# For unsigned types, just encode as-is
332+
# For float bits, encode as unsigned varint
333333
encode_varint!(buf, UInt64(value))
334334
end
335335

0 commit comments

Comments
 (0)