Bug #288 fix compilation warnings