Maybe the right fix was `&0xffffffffL` instead of `&0xffffffff` ?