summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-02-06 17:25:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-02-06 17:26:28 +0900
commitca2803d785ed4ead26671d121d354ff8bb79ef5f (patch)
tree2f4232de9a56c101fa5fafeeaac6c19d45d6dce5 /tdm
parent384349606b37869efdf65de53ed23b2d6bbd8b29 (diff)
downloadtdebase-ca2803d785ed4ead26671d121d354ff8bb79ef5f.tar.gz
tdebase-ca2803d785ed4ead26671d121d354ff8bb79ef5f.zip
Make sure to convert TQCString to const char* when passing it to a variadic function (printf).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 13f8697e0f3a557d6d1f15f11d2e5991b00bccb8)
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/kgapp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp
index 8ad1abba2..c107be80f 100644
--- a/tdm/kfrontend/kgapp.cpp
+++ b/tdm/kfrontend/kgapp.cpp
@@ -313,7 +313,7 @@ kg_main( const char *argv0 )
iccCommand += TQString(" %1 &").arg(iccconfig.readEntry("ICCFile"));
if (system(iccCommand.local8Bit()) < 0)
{
- printf("WARNING: Unable to execute command \"%s\"\n", iccCommand.local8Bit());
+ printf("WARNING: Unable to execute command \"%s\"\n", iccCommand.local8Bit().data());
}
}
}