aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2007-10-12 15:33:27 +0000
committerNeil Booth <neil@daikokuya.co.uk>2007-10-12 15:33:27 +0000
commit7a951ca5480698c97bcf1561d3d564e5bd9199f8 (patch)
treeef2a7a137a6168bdb11a601ccc83b03debdbe648 /lib/Support/APFloat.cpp
parent1e8390d8d6219a2f0a9b8c5592ee0c33c256d03d (diff)
If we're trying to be arbitrary precision, unsigned char clearly won't cut it. Needed for dec->bin conversions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APFloat.cpp')
-rw-r--r--lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index ab30a030a2..f2f6953751 100644
--- a/lib/Support/APFloat.cpp
+++ b/lib/Support/APFloat.cpp
@@ -39,7 +39,7 @@ namespace llvm {
/* Number of bits in the significand. This includes the integer
bit. */
- unsigned char precision;
+ unsigned int precision;
/* If the target format has an implicit integer bit. */
bool implicitIntegerBit;