From 70a7537584889cf612ddea83eb65fd42818f6e5e Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 7 Oct 2016 22:06:29 +0200 Subject: Make code work on Linux and older compilers --- bigint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bigint.cpp') 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 outbuf; while(b!=0){ pair dm=b.divmod(div); -- cgit v1.2.3-70-g09d2