Fix a warning during compilation
Merge pull request #1070 from rubenk/compile-warning

Fix a warning during compilation