Fixing two GCC warnings
Merge pull request #248 from ecraven/fix-warnings

Fixing two GCC warnings