diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:55:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-08 19:55:00 +0000 |
commit | e64ff1c4b2ebfa14308613c78073089fc8424f8d (patch) | |
tree | 9ea59b6256712cd639bae51480c1a1a16857949c /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 78100c41ca502afde086bca464454bf0f90791d8 (diff) | |
download | llvm-e64ff1c4b2ebfa14308613c78073089fc8424f8d.zip llvm-e64ff1c4b2ebfa14308613c78073089fc8424f8d.tar.gz llvm-e64ff1c4b2ebfa14308613c78073089fc8424f8d.tar.bz2 |
Silence warnings from VS
llvm-svn: 19386
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 3862858..f2cf336 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -256,7 +256,8 @@ void MachineFunction::clearSSARegMap() { /// CreateStackObject - Create a stack object for a value of the specified type. /// int MachineFrameInfo::CreateStackObject(const Type *Ty, const TargetData &TD) { - return CreateStackObject(TD.getTypeSize(Ty), TD.getTypeAlignment(Ty)); + return CreateStackObject((unsigned)TD.getTypeSize(Ty), + TD.getTypeAlignment(Ty)); } |