Fixed the wrapping of bit masks in default arguments.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>