fix compiler warnings

Change-Id: Ic3e5bbaf9824ef35a7a71209a5cd6bf868f96adb
Merge pull request #7 from CyanogenMod/cm-11.0

fix compiler warnings