fighting gcc 4.8 warnings to errors #4
imported JustArchi's ArchiDroid Optimizations V3 from TeamCanjica's git repo