diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2013-06-03 15:18:41 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2013-06-03 15:18:41 +0200 |
commit | 39fe9de6b2b255969971beca8fa25a33ad2e5750 (patch) | |
tree | 6686041f6b801d0ea5185b026a480a5be61510e6 /src/uint256.h | |
parent | f679b2900a3a9f863f888cfb0b1a5e593628e37b (diff) | |
parent | fa9e5adddda0bee5adc040b957cf3f1a6a470802 (diff) | |
download | bitcoin-39fe9de6b2b255969971beca8fa25a33ad2e5750.tar.xz |
Merge branch 'master' of git://github.com/bitcoin/bitcoin into prefsFix
Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>
Conflicts:
bitcoin-qt.pro
Diffstat (limited to 'src/uint256.h')
-rw-r--r-- | src/uint256.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/uint256.h b/src/uint256.h index 8a9af8ba04..2a252c94f3 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -8,6 +8,7 @@ #include <limits.h> #include <stdio.h> #include <string.h> +#include <inttypes.h> #include <string> #include <vector> @@ -20,14 +21,14 @@ inline int Testuint256AdHoc(std::vector<std::string> vArg); /** Base class without constructors for uint256 and uint160. - * This makes the compiler let u use it in a union. + * This makes the compiler let you use it in a union. */ template<unsigned int BITS> class base_uint { protected: enum { WIDTH=BITS/32 }; - unsigned int pn[WIDTH]; + uint32_t pn[WIDTH]; public: bool operator!() const |