summaryrefslogtreecommitdiff
path: root/integer.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-03-13 13:26:41 +0000
committerweidai <weidai11@users.noreply.github.com>2006-03-13 13:26:41 +0000
commit922fdeb1508e89b25d684378a269e319c927d91d (patch)
treef30468f446dfdde7bc27bc6c82de67f227721b05 /integer.h
parent80a9a45ad09512f6d2dd4f806ff774d79fcda5df (diff)
downloadcryptopp-git-922fdeb1508e89b25d684378a269e319c927d91d.tar.gz
fix MSVC 2005 warnings
Diffstat (limited to 'integer.h')
-rw-r--r--integer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.h b/integer.h
index 0c123c63..7bb051a5 100644
--- a/integer.h
+++ b/integer.h
@@ -278,7 +278,7 @@ public:
//!
Integer& operator/=(word t) {return *this = DividedBy(t);}
//!
- Integer& operator%=(word t) {return *this = Modulo(t);}
+ Integer& operator%=(word t) {return *this = Integer(POSITIVE, 0, Modulo(t));}
//!
Integer& operator<<=(size_t);