get rid of warnings in gcc 4.4.3
Merge pull request #53 from vadimg/master

get rid of warnings in gcc 4.4.3