12 Mar, 2012, Tyche wrote in the 1st comment:
Votes: 0
/* null terminate it */
str[x] = (char) NULL;


Only a few thousand warnings from this fundamental misunderstanding.
0.0/1