aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-01-02 17:39:38 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-03 09:27:28 -0800
commit8c217ad0586432aa6fd39c8e294ba78bda61bcb8 (patch)
treedc91d253b0745c035546845ea8f339f12dfebc23 /host
parentaa1ec635379192bc9694ceddfb7c417992b94db4 (diff)
downloaduhd-8c217ad0586432aa6fd39c8e294ba78bda61bcb8.tar.gz
uhd-8c217ad0586432aa6fd39c8e294ba78bda61bcb8.tar.bz2
uhd-8c217ad0586432aa6fd39c8e294ba78bda61bcb8.zip
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.
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/utils/log.hpp2
1 files changed, 1 insertions, 1 deletions
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_),