From 4b56933df7b122d903f5438bbfab3b59fc40f589 Mon Sep 17 00:00:00 2001 From: Ray-V Date: Mon, 7 Aug 2023 10:27:07 +0100 Subject: Fix clang build failure for k9saveimage This resolves issue#16. Signed-off-by: Ray-V --- libk9copy/k9saveimage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libk9copy') diff --git a/libk9copy/k9saveimage.cpp b/libk9copy/k9saveimage.cpp index 20e643a..1a2671e 100644 --- a/libk9copy/k9saveimage.cpp +++ b/libk9copy/k9saveimage.cpp @@ -76,7 +76,7 @@ void k9SaveImage::run() { TQString sFileName=m_tempFile->name(); m_image.save(sFileName,"PNG"); sFileName="\rINFOIMAGE:"+sFileName; - fprintf(stderr,"%s",sFileName.local8Bit()); + fprintf(stderr,"%s",sFileName.local8Bit().data()); m_mutex.unlock(); } -- cgit v1.2.1