fix gcc 4.1 warnings
Merge pull request #82 from reneme/fix_gcc4_1-warnings

FIX: gcc4 1 warnings