diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-01-09 09:16:21 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-01-09 09:16:21 +0100 |
commit | 9028d05555bbe6f24f18ee0d93dc4c7521c49638 (patch) | |
tree | bcf649629ba664c97be160413fb791e27848d21f /ACE/tests | |
parent | 3429716fe5689b312bdcccc57feceba49d8cad97 (diff) | |
download | ATCD-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.cpp | 2 |
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); |