various warning fixes
Merge pull request #880 from dcoeurjo/warningFixes

various warning fixes