Commit 82e6bba1 authored by Kurt Hindenburg's avatar Kurt Hindenburg

change old cast (int) to int()

parent 3805cb9d
......@@ -750,7 +750,7 @@ void Session::sendSignal(int signal)
void Session::reportBackgroundColor(const QColor& c)
{
#define to65k(a) (QStringLiteral("%1").arg((int)((a)*0xFFFF), 4, 16, QLatin1Char('0')))
#define to65k(a) (QStringLiteral("%1").arg(int(((a)*0xFFFF)), 4, 16, QLatin1Char('0')))
QString msg = QStringLiteral("\033]11;rgb:")
+ to65k(c.redF()) + QLatin1Char('/')
+ to65k(c.greenF()) + QLatin1Char('/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment