Fix warnings about void* pointer arithmetic
Merge pull request #54 from mppf/qio_fixes

Fix warnings about void* pointer arithmetic