Fix compiler warning in release mode
Merge pull request #117 from frankosterfeld/fix_warning

Fix compiler warning in release mode