minor adjustments to avoid compiler warnings
Merge pull request #26 from david-mannicke/master

minor adjustments to avoid compiler warnings