diff --git a/src/anbox/runtime.cpp b/src/anbox/runtime.cpp index cbfefa7..a97b673 100644 --- a/src/anbox/runtime.cpp +++ b/src/anbox/runtime.cpp @@ -53,7 +53,7 @@ std::shared_ptr Runtime::create(std::uint32_t pool_size) { Runtime::Runtime(std::uint32_t pool_size) : pool_size_{pool_size}, - service_{pool_size_}, + service_{static_cast(pool_size_)}, strand_{service_}, keep_alive_{service_} {}