> That he only used unsigned types is irrelevant
If he had used a signed type, it would have got sign extended and the result would have been different.
If he had used a signed type, it would have got sign extended and the result would have been different.