aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2013-12-03 06:24:34 -0800
committerBen Hilburn <ben.hilburn@ettus.com>2013-12-03 10:40:23 -0800
commit37d3542f9ca9ec44937ad6a65029a73bee3b9385 (patch)
treed262907d8ca0c59d233e786058f1c91bff714cce /host/lib/usrp
parent4b4365a517938b365af57674a3ab1462432c2c3a (diff)
downloaduhd-37d3542f9ca9ec44937ad6a65029a73bee3b9385.tar.gz
uhd-37d3542f9ca9ec44937ad6a65029a73bee3b9385.tar.bz2
uhd-37d3542f9ca9ec44937ad6a65029a73bee3b9385.zip
lib: fixed use of -> to . after switching parameter from pointer to reference
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/b200/b200_iface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/b200/b200_iface.cpp b/host/lib/usrp/b200/b200_iface.cpp
index b60c72fa8..7809781d8 100644
--- a/host/lib/usrp/b200/b200_iface.cpp
+++ b/host/lib/usrp/b200/b200_iface.cpp
@@ -168,7 +168,7 @@ bool parse_record(const std::string& record, boost::uint16_t &len, \
std::istringstream(record.substr(3, 4)) >> std::hex >> addr;
std::istringstream(record.substr(7, 2)) >> std::hex >> type;
- if (len > (2 * (record->length() - 9))) // sanity check to prevent buffer overrun
+ if (len > (2 * (record.length() - 9))) // sanity check to prevent buffer overrun
return false;
for (i = 0; i < len; i++) {