summaryrefslogtreecommitdiff
path: root/src/util/integer_cln_imp.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-09-25 18:57:48 +0000
committerMorgan Deters <mdeters@gmail.com>2012-09-25 18:57:48 +0000
commit94b685e149119bbe75266481f6de3a0915e7c10a (patch)
treeaddbbdd36ca34f65c7d3d092c0f1fc5d400c6dac /src/util/integer_cln_imp.h
parent89bcd4deee07a2c61d30a9dfca64e58e8c2d701b (diff)
fix some Mac issues
Diffstat (limited to 'src/util/integer_cln_imp.h')
-rw-r--r--src/util/integer_cln_imp.h6
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback