Skip to content

Commit

Permalink
fix _id decoding signed/unsigned bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Aug 24, 2008
1 parent 1325c94 commit 1b52367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mongo/buffer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def read *types
# end.map do |num|
# num.to_s(16).rjust(8,'0')
# end.join('')
_read(12, 'i*').map do |num|

_read(12, 'I*').map do |num|
num.to_s(16).rjust(8,'0')
end.join('')
when :bson
Expand Down

0 comments on commit 1b52367

Please sign in to comment.