summaryrefslogtreecommitdiff
path: root/src/components/chatinput.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-07-03 18:58:48 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-07-03 18:58:48 -0400
commita9d35dcccdd7ce6b57e0e9526a2eb1f5ca886013 (patch)
tree45e47c9bec79cef96cb86909b51872ab18b72585 /src/components/chatinput.cpp
parente87766f106c1b8e4b57ce59c713fcf4efe6df39a (diff)
downloadabaddon-portaudio-a9d35dcccdd7ce6b57e0e9526a2eb1f5ca886013.tar.gz
abaddon-portaudio-a9d35dcccdd7ce6b57e0e9526a2eb1f5ca886013.zip
fix compile
Diffstat (limited to 'src/components/chatinput.cpp')
-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");