diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-07 22:06:29 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-07 22:06:29 +0200 |
commit | 70a7537584889cf612ddea83eb65fd42818f6e5e (patch) | |
tree | 7d84990995b5d3163b193078058736a46d62b089 /bigint.cpp | |
parent | 241518f369efce64046be36a15fcb722b00e9477 (diff) |
Make code work on Linux and older compilers
Diffstat (limited to 'bigint.cpp')
-rw-r--r-- | bigint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |