fix warnings on linux
Merge pull request #893 from thomas33/baQ

fix warnings on linux