aboutsummaryrefslogtreecommitdiff
path: root/bigint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bigint.cpp')
-rw-r--r--bigint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bigint.cpp b/bigint.cpp
index 1f71cf9..98846e0 100644
--- a/bigint.cpp
+++ b/bigint.cpp
@@ -617,7 +617,7 @@ std::ostream& operator<<(std::ostream &os,Bigint b){
return os;
#else
if(b==0)return os<<'0';
- Bigint div(1000000000000000000LL);
+ Bigint div((int64_t)1000000000000000000LL);
vector<Bigint::longdigit_t> outbuf;
while(b!=0){
pair<Bigint,Bigint> dm=b.divmod(div);