Fixed compiler warnings.
Merge pull request #25 from premosystems/master

Fixed compiler warnings.