mongodb/mongo — pull request #196 by janimo (2012-03-26 13:06:53+00:00)
Title: Use signed char so it works on ARM and PPC

On ARM and PowerPC char is unsigned by default. This breaks
BSONtype() because the latter needs to represent -1 as well.

The bug can also be reproduced on x86 if passing -funsigned-char to gcc. The smoketest fails due to a SIGTRAP.