aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-07-24 07:27:24 -0700
committerMartin Braun <martin.braun@ettus.com>2015-07-24 10:38:15 -0700
commit290b85a9610eb416d21775b222e70b8772497b08 (patch)
tree404d62963e6f4733d597be4a76b716c57f79bb4b /host/examples
parent76e980b41d912dd9c9eefd8d6f10146569fa25c9 (diff)
downloaduhd-290b85a9610eb416d21775b222e70b8772497b08.tar.gz
uhd-290b85a9610eb416d21775b222e70b8772497b08.tar.bz2
uhd-290b85a9610eb416d21775b222e70b8772497b08.zip
Fixed minor warnings
Diffstat (limited to 'host/examples')
-rw-r--r--host/examples/test_clock_synch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/test_clock_synch.cpp b/host/examples/test_clock_synch.cpp
index 9d1883665..2d438c5ca 100644
--- a/host/examples/test_clock_synch.cpp
+++ b/host/examples/test_clock_synch.cpp
@@ -124,7 +124,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
//Get GPS time to initially set USRP devices
std::cout << std::endl << "Querying Clock for time and setting USRP times..." << std::endl << std::endl;
- boost::uint32_t clock_time = clock->get_time();
+ time_t clock_time = clock->get_time();
usrp->set_time_unknown_pps(uhd::time_spec_t(double(clock_time+2)));
//Wait for next PPS to start polling