Using saturation
nYou can fix this by using conditionals
nunsigned char p1,p2,p3;
nint I3= (int)p1 + (int)p2;
np3=(I3>255?255:(unsigned char)I3);
n