From: Mika Laitio Date: Mon, 7 Sep 2015 08:07:16 +0000 (+0300) Subject: fix compiler warning from sleep prototype X-Git-Url: http://pilppa.org/gitweb/?p=libplpdevicebus.git;a=commitdiff_plain;h=a26e13854f1188f62fea78c3f02a0cdc71555986 fix compiler warning from sleep prototype Signed-off-by: Mika Laitio --- 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;