aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-03-28 18:04:14 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-03-28 18:04:14 +0000
commitfb02784df0a218532018d8c54e3ca7e78c2f5f0a (patch)
treec49f4516760e7a895eb0e421b2d4d5b1d9d0ac1d /lib
parenta78eca20429e55b041bffcea1938cd0df07a6ebd (diff)
Fix the type of wchar_t on Solaris.
Patch by Dmitri Shubin! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Basic/Targets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 7442432975..73bd2b6789 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -509,7 +509,7 @@ public:
SolarisTargetInfo(const std::string& triple)
: OSTargetInfo<Target>(triple) {
this->UserLabelPrefix = "";
- this->WCharType = this->SignedLong;
+ this->WCharType = this->SignedInt;
// FIXME: WIntType should be SignedLong
}
};