Fix compile warnings with latest Xcode (4.6.1)
Merge pull request #15 from maxsz/fix_compile_warning

Fix compile warnings with latest Xcode (4.6.1)