fix clang warnings reported by Tuncer Ayaz

R=rsc
http://codereview.appspot.com/6744054
24 files changed