From 84ba1fb33fe2d6c2bc50720130260f7fbc2df19d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 16 Feb 2025 11:34:46 +0900 Subject: Switch to cmake building system Signed-off-by: Michele Calgaro (cherry picked from commit 9d6a68cb01d6a634885aaf9895195d224395d28c) --- src/sq_libraryhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sq_libraryhandler.cpp') diff --git a/src/sq_libraryhandler.cpp b/src/sq_libraryhandler.cpp index 56165b9..ecc4a83 100644 --- a/src/sq_libraryhandler.cpp +++ b/src/sq_libraryhandler.cpp @@ -257,8 +257,8 @@ void SQ_LibraryHandler::add(TQStringList &foundLibraries) libtmp.lib->load(); // resolve create() and destroy() functions - libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve(TQString::fromLatin1("codec_create").local8Bit()); - libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve(TQString::fromLatin1("codec_destroy").local8Bit()); + libtmp.codec_create = (fmt_codec_base*(*)())(libtmp.lib)->resolve("codec_create"); + libtmp.codec_destroy = (void (*)(fmt_codec_base*))(libtmp.lib)->resolve("codec_destroy"); // couldn't resolve - corrupted library ? if(!libtmp.codec_create || !libtmp.codec_destroy) -- cgit v1.2.3