Fixed warnings.
Merge pull request #1 from svenpanne/fix-warnings

Fixed warnings.