Fix warning on return value.
Fix warning on return value.
Fix warning on return value.
Merge pull request #238 from TomFischer/FixWarnings

Small pull request to fix warnings.