aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/DebugInfoProbe.h
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
commit179bc7cb597c98045fae055fae754da5690ba187 (patch)
tree3cb3d167c24bced5b6d76974fbbc6e1362a02ea1 /include/llvm/DebugInfoProbe.h
parent52b89dd303424582d054e18417099f3a7e343b41 (diff)
downloadexternal_llvm-179bc7cb597c98045fae055fae754da5690ba187.zip
external_llvm-179bc7cb597c98045fae055fae754da5690ba187.tar.gz
external_llvm-179bc7cb597c98045fae055fae754da5690ba187.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfoProbe.h')
0 files changed, 0 insertions, 0 deletions