Fixing issue #39 again. The mask for receive() was too tight. Fixing
compile warnings.