From d934e68d6ca44e23ba6137a19642890fe91c7b4b Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 18 Aug 2011 10:16:06 -0700 Subject: uhd: replace cast in usrp_burn_mb_eeprom to be like other apps (fixes ubuntu 10.4 compiler bug) --- host/utils/usrp_burn_mb_eeprom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 tree = dev->get_tree(); std::cout << std::endl; if (true /*always readback*/){ -- cgit v1.2.3