Fix type truncation warnings
authorTeresa Johnson <tejohnson@google.com>
Thu, 11 Aug 2016 20:38:39 +0000 (20:38 +0000)
committerTeresa Johnson <tejohnson@google.com>
Thu, 11 Aug 2016 20:38:39 +0000 (20:38 +0000)
commitfaa7506f18a603ba97862c86c49ce946cdf2d0dd
tree6f3c9019c37c084de816687492547fcb6186ac5d
parent21f475e1c4fe5120400afdf3aef7c0ef0311134c
Fix type truncation warnings

Avoid type truncation warnings from a 32-bit bot due to size_t not
being unsigned long long, by converting the variables and constants to
unsigned. This was introduced by r278338 and caused warnings here:
http://bb.pgr.jp/builders/i686-mingw32-RA-on-linux/builds/15527/steps/build_llvmclang/logs/warnings%20%287%29

llvm-svn: 278406
llvm/include/llvm/LTO/Config.h
llvm/include/llvm/LTO/LTO.h
llvm/include/llvm/LTO/LTOBackend.h
llvm/lib/LTO/LTO.cpp
llvm/lib/LTO/LTOBackend.cpp