mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-26 11:28:48 +03:00
casting problem on some compilers
This commit is contained in:
parent
2e3a82a40c
commit
f6853ee37d
@ -48,7 +48,7 @@ init(Parameter const& P)
|
||||
P.SetParameter(this->is_serial, "serial", false);
|
||||
P.SetParameter(this->logfile, "server-log", std::string("/dev/null"));
|
||||
P.SetParameter(this->num_threads, "threads", uint32_t(10));
|
||||
P.SetParameter(this->session_cache_size, "session-cache_size",25UL);
|
||||
P.SetParameter(this->session_cache_size, "session-cache_size", (size_t) 25);
|
||||
std::string timeout_spec;
|
||||
P.SetParameter(timeout_spec, "session-timeout",std::string("30m"));
|
||||
this->session_timeout = parse_timespec(timeout_spec);
|
||||
|
Loading…
Reference in New Issue
Block a user