Fixed some warning and a misuse of sizeof-argument
Merge pull request #1 from sago007/master

Fixed some warning and a misuse of sizeof-argument