On 11.06.2010 01:21, Yuriy Kaminskiy wrote: > On 09.06.2010 22:25, Reimar Döffinger wrote: > I think this line should be > c = *q == 'x' ? strtoul(q++, &s, 16) : strtoul(q, &s, 10); eww, sorry, ++q; or, maybe, just q+1, would be even better as q is not used/checked anyway