From a26e13854f1188f62fea78c3f02a0cdc71555986 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Mon, 7 Sep 2015 11:07:16 +0300 Subject: [PATCH] fix compiler warning from sleep prototype Signed-off-by: Mika Laitio --- src_server/DeviceManagerServer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src_server/DeviceManagerServer.cc b/src_server/DeviceManagerServer.cc index 1a7e172..53e9c0f 100644 --- a/src_server/DeviceManagerServer.cc +++ b/src_server/DeviceManagerServer.cc @@ -6,6 +6,7 @@ */ #include #include +#include #include #include @@ -52,7 +53,7 @@ DeviceManagerServer::DeviceManagerServer(list dev_lst_param) { //_dev_lst = Factory::get_device_list(); _dev_lst = dev_lst_param; /* In some toolchains the size is not unsigned int instead of long - unsigned int, and that can cause warnings/errors without typecasting + unsigned int, and that can cause warnings/errors without typecasting */ log_info("device count: %lu\n", (long unsigned int)_dev_lst.size()); _lstnr_thrd = 0; -- 2.41.0