modify for strict C compiler.

- incrementing void pointer is undefined, gcc treats it as char pointer, though.
- array initialization by '{}' causes compilation error with strict C compiler.