Permalink
Browse files

fix _id decoding signed/unsigned bug

  • Loading branch information...
1 parent 1325c94 commit 1b5236725f0f84e362917b8dcee3d1fddb89592e @tmm1 committed Aug 24, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/mongo/buffer.rb
View
@@ -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

0 comments on commit 1b52367

Please sign in to comment.