diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-03-20 20:39:59 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-03-20 20:39:59 +0000 |
commit | 6698a186066d6efb239fcfc13f296794b9d7dda2 (patch) | |
tree | c85dd5aa14780d400b30c133fa3704b044d1bbb2 /integer.h | |
parent | 067b425053134d8d5d44e1ecb8907ea28b985a68 (diff) | |
download | cryptopp-git-6698a186066d6efb239fcfc13f296794b9d7dda2.tar.gz |
fix warnings for VC7 and GCC
Diffstat (limited to 'integer.h')
-rw-r--r-- | integer.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -67,6 +67,9 @@ public: }; //! + enum Sign {POSITIVE=0, NEGATIVE=1}; + + //! enum Signedness { //! UNSIGNED, @@ -92,6 +95,9 @@ public: //! convert from signed long Integer(signed long value); + //! convert from two words + Integer(Sign s, word highWord, word lowWord); + //! convert from string /*! str can be in base 2, 8, 10, or 16. Base is determined by a case insensitive suffix of 'h', 'o', or 'b'. No suffix means base 10. @@ -390,8 +396,6 @@ private: friend void PositiveMultiply(Integer &product, const Integer &a, const Integer &b); friend void PositiveDivide(Integer &remainder, Integer "ient, const Integer ÷nd, const Integer &divisor); - enum Sign {POSITIVE=0, NEGATIVE=1}; - SecAlignedWordBlock reg; Sign sign; }; |