summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-05 09:56:12 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-05 09:56:12 +0000
commit5db541304f237bd133aad1f8b58ac35a58e42253 (patch)
tree4985ae089e4ed202b88050d033a4b409d18f42be /clang/lib/CodeGen/CodeGenModule.cpp
parentafdc66f4fa8f74a8ce4811d7148d90a00d1d770f (diff)
downloadbcm5719-llvm-5db541304f237bd133aad1f8b58ac35a58e42253.tar.gz
bcm5719-llvm-5db541304f237bd133aad1f8b58ac35a58e42253.zip
Switch to a C-style cast here to silence a brain-dead MSVC warning. It
complains about the truncation of a 64-bit constant to a 32-bit value when size_t is 32-bits wide, but *only with static_cast*!!! The exact signal that should *silence* such a warning, and in fact does silence it with both GCC and Clang. Anyways, this was causing grief for all the MSVC builds, so pointless change made. Thanks to Nikola on IRC for confirming that this works. llvm-svn: 152021
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud