Merge pull request #1 from LudovicRousseau/fixes

Examples: fix compiler warnings