summaryrefslogtreecommitdiff
path: root/ACE/tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-01-09 09:16:21 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-01-09 09:16:21 +0100
commit9028d05555bbe6f24f18ee0d93dc4c7521c49638 (patch)
treebcf649629ba664c97be160413fb791e27848d21f /ACE/tests
parent3429716fe5689b312bdcccc57feceba49d8cad97 (diff)
downloadATCD-9028d05555bbe6f24f18ee0d93dc4c7521c49638.tar.gz
Add cast to silence new warning
* ACE/tests/SOCK_Dgram_Bcast_Test.cpp:
Diffstat (limited to 'ACE/tests')
-rw-r--r--ACE/tests/SOCK_Dgram_Bcast_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/SOCK_Dgram_Bcast_Test.cpp b/ACE/tests/SOCK_Dgram_Bcast_Test.cpp
index 67d4138a709..8951da96f1d 100644
--- a/ACE/tests/SOCK_Dgram_Bcast_Test.cpp
+++ b/ACE/tests/SOCK_Dgram_Bcast_Test.cpp
@@ -144,7 +144,7 @@ int run_auto_test (const ACE_TCHAR *prog_name)
ACE_Process_Options opts;
pid_t child_pid;
opts.command_line (ACE_TEXT ("%s -p %d -t %d -a -r"),
- prog_name, dgram_port, dgram_recv_timeout.msec ());
+ prog_name, dgram_port, static_cast<int>(dgram_recv_timeout.msec ()));
if ((child_pid = ACE_Process_Manager::instance ()->spawn (opts)) == -1)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("spawn_n()")), -1);