Commit 9276121d authored by Florian Kaltenberger's avatar Florian Kaltenberger

fixing pointer arithmetic

parent 9f87b4a0
......@@ -662,7 +662,7 @@ static int trx_usrp_read(openair0_device *device, openair0_timestamp ptimestamp,
samples_received=0;
while (samples_received != nsamps) {
samples_received += s->rx_stream->recv(buff_tmp[0]+samples_received,
samples_received += s->rx_stream->recv((void*)((int32_t*)buff_tmp[0]+samples_received),
nsamps-samples_received, s->rx_md);
if ((s->wait_for_first_pps == 0) && (s->rx_md.error_code!=uhd::rx_metadata_t::ERROR_CODE_NONE))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment