On Wednesday, 31 May 2017 3:55 PM, Nikolay Sivov wrote:
'item' is unsigned, so '< 1' and '== 0' should be equivalent.
Yes, they are. But -1 gets wrapped into a positive number, which means the proposed patch doesn't work anyway.
We'd have to change the UINT to int, but it's not worth it.