Commit f047d7ee authored by Erik Verbruggen's avatar Erik Verbruggen

VIM: remove unnecessary (and invalid) cast.

fakevimhandler.cpp:941:43: warning: comparison of integers of different signs: 'Int' (aka 'unsigned int') and 'int' [-Wsign-compare]
        return m_xkey == c && m_modifiers != int(HostOsInfo::controlModifier());
                                      ~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: I360873f0c74512d95ca8ecaac4f1ab0a477877e7
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 2408e2e4
......@@ -938,7 +938,7 @@ public:
bool is(int c) const
{
return m_xkey == c && m_modifiers != int(HostOsInfo::controlModifier());
return m_xkey == c && m_modifiers != HostOsInfo::controlModifier();
}
bool isControl() const
......
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