Herman ten Brugge wrote:- > I still don't understand. Sorry. What is the difference between: > '(int)(unsigned char)(c)' and '(c) & 0xff' > The following program does not abort: That may be a well-known bug in GCC regarding signed chars and shorts. Have you tried your program on other compilers? Neil.