Tell the compiler you know what you are doing by casting the int result to byte:
int var = (byte) (int expression here);