diff options
| author | Josh Blum <josh@joshknows.com> | 2011-02-22 14:36:30 -0800 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-02-22 14:36:30 -0800 | 
| commit | a75f38f971d36424b261bc3fbe571e5b9efbf3f1 (patch) | |
| tree | 4d8589123834054951760d0eede35ae981a32151 | |
| parent | 8ce6a4853e9e0ef3e18bc30ea00b27ec3a069652 (diff) | |
| download | uhd-a75f38f971d36424b261bc3fbe571e5b9efbf3f1.tar.gz uhd-a75f38f971d36424b261bc3fbe571e5b9efbf3f1.tar.bz2 uhd-a75f38f971d36424b261bc3fbe571e5b9efbf3f1.zip | |
usrp2: div->ldiv fix for overloaded types w/ msvc
| -rw-r--r-- | host/lib/usrp/usrp2/io_impl.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/host/lib/usrp/usrp2/io_impl.cpp b/host/lib/usrp/usrp2/io_impl.cpp index e59ee2d24..6d7f0cce8 100644 --- a/host/lib/usrp/usrp2/io_impl.cpp +++ b/host/lib/usrp/usrp2/io_impl.cpp @@ -492,7 +492,7 @@ size_t usrp2_impl::get_max_recv_samps_per_packet(void) const{  void usrp2_impl::handle_overflow(size_t chan){      std::cerr << "O" << std::flush; -    div_t indexes = div(chan, usrp2_mboard_impl::NUM_RX_DSPS); +    ldiv_t indexes = ldiv(chan, usrp2_mboard_impl::NUM_RX_DSPS);      _mboards.at(indexes.quot)->handle_overflow(indexes.rem);  } | 
