Avoid applying unary minus operator on unsigned type Change-Id: Ibc60541837eef06810f5be0aaa7fef9edcc8f8a4