summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/chatinput.cpp2
1 files changed, 1 insertions, 1 deletions
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<Gio::File> &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");