From f4a39d2fde3ef72e32b296fdd783b31d4abfcb76 Mon Sep 17 00:00:00 2001 From: François Andriot Date: Mon, 10 Apr 2023 13:50:22 +0200 Subject: This happens en RHEL7 (gcc 4.8.5) but not on later distributions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- pytquic3/embed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pytquic3/embed.cpp') diff --git a/pytquic3/embed.cpp b/pytquic3/embed.cpp index 9bf0071..afb28d0 100644 --- a/pytquic3/embed.cpp +++ b/pytquic3/embed.cpp @@ -149,7 +149,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima for ( it = images.begin(); it != images.end(); ++it ) { TQImage img; if ( !img.load( *it ) ) { - fprintf( stderr, "pytquic: cannot load image file %s\n", (*it).utf8() ); + fprintf( stderr, "pytquic: cannot load image file %s\n", (*it).local8Bit().data() ); continue; } EmbedImage *e = new EmbedImage; -- cgit v1.2.3