diff options
Diffstat (limited to 'src/main/util.cpp')
-rw-r--r-- | src/main/util.cpp | 3 |
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"); |