summaryrefslogtreecommitdiffstats
path: root/host/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-18 10:16:06 -0700
committerJosh Blum <josh@joshknows.com>2011-08-18 10:16:06 -0700
commitd934e68d6ca44e23ba6137a19642890fe91c7b4b (patch)
treee15654d9a2a96a245baba6c17e6db0888d2174f2 /host/utils
parent93aee136535aa77348d3b7f3520f066a4167126d (diff)
downloaduhd-d934e68d6ca44e23ba6137a19642890fe91c7b4b.tar.gz
uhd-d934e68d6ca44e23ba6137a19642890fe91c7b4b.tar.bz2
uhd-d934e68d6ca44e23ba6137a19642890fe91c7b4b.zip
uhd: replace cast in usrp_burn_mb_eeprom to be like other apps (fixes ubuntu 10.4 compiler bug)
Diffstat (limited to 'host/utils')
-rw-r--r--host/utils/usrp_burn_mb_eeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_burn_mb_eeprom.cpp b/host/utils/usrp_burn_mb_eeprom.cpp
index 9f2fa611a..ca9a6c8ba 100644
--- a/host/utils/usrp_burn_mb_eeprom.cpp
+++ b/host/utils/usrp_burn_mb_eeprom.cpp
@@ -52,7 +52,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
std::cout << "Creating USRP device from address: " + args << std::endl;
uhd::device::sptr dev = uhd::device::make(args);
- uhd::property_tree::sptr tree = (*dev)[0].as<uhd::property_tree::sptr>();
+ uhd::property_tree::sptr tree = dev->get_tree();
std::cout << std::endl;
if (true /*always readback*/){