On Nov 19, 2013 6:35 AM, "Kagamin" <s...@here.lot> wrote: > > C first sign-extends then converts to unsigned. It's just weird it treats pointer as signed. Was there an option for it?
No, it's a bug. The comment in the code says that it unsign-extends (if that is even a proper word a to describe it) first before converting to pointer. Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';