aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-10-31 16:05:19 +0000
committerAnders Carlsson <andersca@mac.com>2008-10-31 16:05:19 +0000
commit6a3615c90e654fce94e9cf635fb4021d5c40743e (patch)
tree66f2ed367c18b1f52c186e1ae880e1357e9f145b /lib/Basic/TargetInfo.cpp
parente580c1bcc59296430bb002b75e0750f26e738933 (diff)
Fix a bug that was introduced in 58501. Ideally I think we should force all targets to set these values and not have defaults.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r--lib/Basic/TargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp
index aa19928e5f..522a09dbb1 100644
--- a/lib/Basic/TargetInfo.cpp
+++ b/lib/Basic/TargetInfo.cpp
@@ -34,7 +34,7 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
DoubleAlign = 64;
LongDoubleWidth = 64;
LongDoubleAlign = 64;
- SizeType = UnsignedInt;
+ SizeType = UnsignedLong;
IntMaxType = SignedLongLong;
UIntMaxType = UnsignedLongLong;
PtrDiffType = SignedLongLong;