From 443225723338ab61362ae37f7058c3f643febdf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 10 May 2013 09:55:08 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@4618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_account.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Skype/src/skype_account.cpp') diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp index f0767b08fc..f834edb560 100644 --- a/protocols/Skype/src/skype_account.cpp +++ b/protocols/Skype/src/skype_account.cpp @@ -145,7 +145,7 @@ void CSkypeProto::SetAccountSettings() this->Log(L"Setting port number to %d", port); g_skype->SetInt(SETUPKEY_PORT, port); - bool useAlternativePorts = (bool)::db_get_b(NULL, this->m_szModuleName, "UseAlternativePorts", 1); + bool useAlternativePorts = ::db_get_b(NULL, this->m_szModuleName, "UseAlternativePorts", 1) > 0; if (useAlternativePorts) this->Log(L"Setting listening of alternative ports (80, 443)"); g_skype->SetInt(SETUPKEY_DISABLE_PORT80, (int)!useAlternativePorts); -- cgit v1.2.3