Fix a narrowing warning due to a type mismatch (size_t vs uint64).
authorKaelyn Uhrain <rikka@google.com>
Fri, 6 Dec 2013 23:09:24 +0000 (23:09 +0000)
committerKaelyn Uhrain <rikka@google.com>
Fri, 6 Dec 2013 23:09:24 +0000 (23:09 +0000)
commit46af5e8efabfcd57b5872cda3eb10d92ca1780d4
tree990e70e98409d51b239b9888782562de967b65b7
parent7db4f8d9d84371e16577e826ec2d60ba15e293db
Fix a narrowing warning due to a type mismatch (size_t vs uint64).

lib/Transforms/Instrumentation/AddressSanitizer.cpp:1405:36: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
    getAllocaSizeInBytes(AI),
    ^~~~~~~~~~~~~~~~~~~~~~~~

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196623 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/ASanStackFrameLayout.h