Undefined behaviour, casting negative number to unsigned type.