From cb30cee7a065a074394347f112451decc4847674 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 17 Jan 2020 20:25:44 +0200 Subject: Fix various gcc and clazy compile warnings --- lib/pluginloader/pluginloader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/pluginloader/pluginloader.h') diff --git a/lib/pluginloader/pluginloader.h b/lib/pluginloader/pluginloader.h index 0c8bcd3..48be61d 100644 --- a/lib/pluginloader/pluginloader.h +++ b/lib/pluginloader/pluginloader.h @@ -40,7 +40,9 @@ public: QString errorString() const { if(signature < requiredSignatureLevel) - return QString("Required signature level: %2; Signature level: %3").arg(QString::number((int) requiredSignatureLevel), QString::number((int) signature)); + return QString("Required signature level: %2; Signature level: %3").arg( + QString::number(static_cast(requiredSignatureLevel)), + QString::number(static_cast(signature))); else return QPluginLoader::errorString(); } -- cgit v1.2.1