summaryrefslogtreecommitdiff
path: root/integer.h
diff options
context:
space:
mode:
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);