3 ms·
Nitpick: those if statements need parentheses. > unsigned char can be as wide as an int, so "p1[i] - p2[i]" may actually evaluate to unsigned int which is not
by MaxBarraclough 6y ago
Nitpick: those if statements need parentheses.
> unsigned char can be as wide as an int, so "p1[i] - p2[i]" may actually evaluate to unsigned int which is not what you want
Would this matter?
- wizzwizz4 6y agoI don't think it would; `<` and `>` aren't syntactic sugar in C.