From 75ad174567627e7da15fa365e8a564f1ee96122c Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Mon, 8 Apr 2013 15:02:51 -0700 Subject: [PATCH] Initialize int64_min constant when using GMP Signed-off-by: Leonardo de Moura --- src/util/mpz.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/mpz.cpp b/src/util/mpz.cpp index a7c904c64..bd7f30a76 100644 --- a/src/util/mpz.cpp +++ b/src/util/mpz.cpp @@ -120,6 +120,7 @@ mpz_manager::mpz_manager(): mpz_set_ui(m_tmp, max_l); mpz_add(m_uint64_max, m_uint64_max, m_tmp); mpz_init(m_int64_max); + mpz_init(m_int64_min); max_l = static_cast(INT64_MAX % static_cast(UINT_MAX)); max_h = static_cast(INT64_MAX / static_cast(UINT_MAX));