Reorder operation to avoid UBsan warning
The original order of operations lead to all variables upgraded to unsigned int during computation, and enc->cnt being negative then would cause UBsan warning. Change-Id: I658b6f4c903472b82e178033eac2463045c42233
Please register or sign in to comment