mongodb/libbson — pull request #6 by Maxime2 (2013-08-13 01:17:41+00:00)
Title: pass bare variables to BSON_UINTxx_TO_BE macros as they may use its parameters several times

BSON_UINTxx_TO_BE macros may use system macros to swap bytes which may use its parameters several times. Thus we ought to pass a bare variable to BSON_UINTxx_TO_BE().