Fixes to compiler warnings in MSVC

Review URL: http://codereview.chromium.org/2851015
13 files changed