Fix compiler error
Merge pull request #190 from Jim-Zhang/patch-1

Fix compiler error