summaryrefslogtreecommitdiff
path: root/src/main/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/util.cpp')
-rw-r--r--src/main/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/util.cpp b/src/main/util.cpp
index 968563b97..ddb9f84c8 100644
--- a/src/main/util.cpp
+++ b/src/main/util.cpp
@@ -94,7 +94,8 @@ void cvc4unexpected() {
fprintf(stderr,
"The exception is unknown (maybe it's not a CVC4::Exception).\n\n");
} else {
- fprintf(stderr, "The exception is:\n%s\n\n", CVC4::s_debugLastException);
+ fprintf(stderr, "The exception is:\n%s\n\n",
+ static_cast<const char*>(CVC4::s_debugLastException));
}
if(segvNoSpin) {
fprintf(stderr, "No-spin requested.\n");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback