Data is Lost in result of type conversion (DL)

Description:

This message is reported when significant bits are lost as a result of conversion from a large integer type to smaller integer type.

Example:

void foo(int x) {
    if (x > 128) {
   	    b = (byte) x;
    }
}