I get a warning for this line:
e = strtol(++s, (char **)&s, 10);
Moving ++s to a separate statement causes the warning to go away, but as far as I can tell, this warning is completely wrong. The value of s used only once when calculating ++s . The second use of s is only its address. Is something missing?
source share