From 379a5998fad3cd736704cf78be14d25ff4617723 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 23 May 2007 23:45:25 +0000 Subject: added newlines removed warnings fix for icons and options error git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@185 4f64403b-2f21-0410-a795-97e2b3489a10 --- ping_protocol/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ping_protocol/utils.cpp') diff --git a/ping_protocol/utils.cpp b/ping_protocol/utils.cpp index 2c35d0d..16bd8b1 100644 --- a/ping_protocol/utils.cpp +++ b/ping_protocol/utils.cpp @@ -288,7 +288,7 @@ void import_ping_address(int index, PINGADDRESS &pa) { strncpy(pa.pszLabel, dbv.pszVal, MAX_PINGADDRESS_STRING_LENGTH); DBFreeVariant(&dbv); - pa.port = (int)DBGetContactSettingDword(0, "PingPlug", os4.str().c_str(), -1); + pa.port = (int)DBGetContactSettingDword(0, "PingPlug", os4.str().c_str(), (DWORD)-1); DBGetContactSetting(0, "PingPlug", os5.str().c_str(), &dbv); strncpy(pa.pszProto, dbv.pszVal, MAX_PINGADDRESS_STRING_LENGTH); -- cgit v1.2.3