summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit146fdb3eeb1b34bf3d0e4bcba68cbba89382f662 (patch)
tree81c6b9be5f7d84e7a1bdb68f9e5ad25d170c284a /llvm/lib/Support/APFloat.cpp
parent7e74b17ad29f187ee30cf2a2ab110af19a161f89 (diff)
downloadbcm5719-llvm-146fdb3eeb1b34bf3d0e4bcba68cbba89382f662.tar.gz
bcm5719-llvm-146fdb3eeb1b34bf3d0e4bcba68cbba89382f662.zip
If we're trying to be arbitrary precision, unsigned char clearly won't cut it. Needed for dec->bin conversions.
llvm-svn: 42910
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r--llvm/lib/Support/APFloat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index ab30a030a2b..f2f69537511 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud