diff --git a/src/main.cpp b/src/main.cpp index 2c353777..e4fa244f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -261,7 +261,7 @@ static void update_thread() { #endif } } catch (Poco::Exception &e) { - fprintf(stderr, "Could not check for updates: %s\n", e.message()); + fprintf(stderr, "Could not check for updates: %s\n", e.message().c_str()); } catch (std::exception &e) { fprintf(stderr, "Could not check for updates: %s\n", e.what()); }