diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-25 18:57:48 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-25 18:57:48 +0000 |
commit | 94b685e149119bbe75266481f6de3a0915e7c10a (patch) | |
tree | addbbdd36ca34f65c7d3d092c0f1fc5d400c6dac /src/util/integer_cln_imp.h | |
parent | 89bcd4deee07a2c61d30a9dfca64e58e8c2d701b (diff) |
fix some Mac issues
Diffstat (limited to 'src/util/integer_cln_imp.h')
-rw-r--r-- | src/util/integer_cln_imp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/integer_cln_imp.h b/src/util/integer_cln_imp.h index 8f7daf4f5..7fd6a2694 100644 --- a/src/util/integer_cln_imp.h +++ b/src/util/integer_cln_imp.h @@ -120,8 +120,12 @@ public: Integer( signed long int z) : d_value(z) {} Integer(unsigned long int z) : d_value(z) {} - ~Integer() {} +#ifdef CVC4_NEED_INT64_T_OVERLOADS + Integer( int64_t z) : d_value(static_cast<long>(z)) {} + Integer(uint64_t z) : d_value(static_cast<unsigned long>(z)) {} +#endif /* CVC4_NEED_INT64_T_OVERLOADS */ + ~Integer() {} Integer& operator=(const Integer& x){ if(this == &x) return *this; |