Fix warning compiling samples with clang3.1

Change-Id: I166cc64d34dcf8dd99fc28f2556306b8795e3c7e
3 files changed