Fix warning
Merge pull request #1840 from linquize/warning

Fix warning