That's a curious way of writing it, I think   (leftvol > 0xFFFF) || (rightvol > 0xFFFF)  is clearer, although yeah, this code should actually work as is.