Fix warnings in examples
Merge pull request #175 from tomaka/fix-warnings

Fix warnings in examples