Merge pull request #51 from yixuan/master

Avoid compiler warnings
one more warning fixed