Clean up trailing whitespace
Eliminate the warnings for different sign
Prevent call strlen in loop condition
Merge pull request #57 from kito-cheng/master

Few clean up