From a75f38f971d36424b261bc3fbe571e5b9efbf3f1 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 22 Feb 2011 14:36:30 -0800 Subject: usrp2: div->ldiv fix for overloaded types w/ msvc --- host/lib/usrp/usrp2/io_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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); } -- cgit v1.2.3