From a9d35dcccdd7ce6b57e0e9526a2eb1f5ca886013 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 3 Jul 2022 18:58:48 -0400 Subject: fix compile --- src/components/chatinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/chatinput.cpp b/src/components/chatinput.cpp index 203f960..49c5b5d 100644 --- a/src/components/chatinput.cpp +++ b/src/components/chatinput.cpp @@ -369,7 +369,7 @@ void ChatInput::AddAttachment(const Glib::RefPtr &file) { const auto info = file->query_info(G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE); content_type = info->get_attribute_string(G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE); } catch (const Gio::Error &err) { - printf("io error: %s\n", err.what()); + printf("io error: %s\n", err.what().c_str()); return; } catch (...) { puts("attachment query exception"); -- cgit v1.2.3