strtoull() returns an unsigned long long. However, then the input string represents a negative number the return value is supposed to be the unsigned representation of the negative value. Before applying the negation the value must be cast to (long long). Change-Id: Icf9e75400ff736819b1f7e0e6fb3c8abd707a23a
3.5 KiB
3.5 KiB