From 8c217ad0586432aa6fd39c8e294ba78bda61bcb8 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 2 Jan 2019 17:39:38 -0800 Subject: log: Fix MSVC warnings by changing a size_t to unsigned int This fixes a warning C4267 which pops up a lot in this file. --- host/include/uhd/utils/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/include') diff --git a/host/include/uhd/utils/log.hpp b/host/include/uhd/utils/log.hpp index f57ea3451..584ba2cad 100644 --- a/host/include/uhd/utils/log.hpp +++ b/host/include/uhd/utils/log.hpp @@ -123,7 +123,7 @@ namespace uhd { const boost::posix_time::ptime &time_, const uhd::log::severity_level &verbosity_, const std::string &file_, - const size_t &line_, + const unsigned int &line_, const std::string &component_, const boost::thread::id &thread_id_ ) : time(time_), -- cgit v1.2.3