summaryrefslogtreecommitdiff
path: root/src/util/integer_cln_imp.h
diff options
context:
space:
mode:
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