Fix compiler warning
Merge pull request #576 from raven02/patch-2

Fix compiler warning