From 9c6ffd1f25e7a5b23be5fbc719e29af54d75a5b7 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 19 Mar 2007 01:28:47 +0000 Subject: added GUID's git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@128 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 1f9c839..2c35d0d 100644 --- a/ping_protocol/utils.cpp +++ b/ping_protocol/utils.cpp @@ -101,7 +101,7 @@ int PluginPing(WPARAM wParam,LPARAM lParam) IP_ECHO_REPLY result; pa->responding = ICMP::get_instance()->ping(pa->pszName, result); if(pa->responding) - pa->round_trip_time = result.RoundTripTime; + pa->round_trip_time = (short)result.RoundTripTime; else pa->round_trip_time = -1; } -- cgit v1.2.3