aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/transport/nirio/nirio_quirks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/include/uhd/transport/nirio/nirio_quirks.h b/host/include/uhd/transport/nirio/nirio_quirks.h
index 8e58f80f1..45ef40394 100644
--- a/host/include/uhd/transport/nirio/nirio_quirks.h
+++ b/host/include/uhd/transport/nirio/nirio_quirks.h
@@ -35,8 +35,8 @@ public:
nirio_quirks() : _tx_stream_count(0) {
}
- UHD_INLINE void register_tx_streams(const uint32_t tx_stream_indices[]) {
- for (size_t i = 0; i < sizeof(tx_stream_indices)/sizeof(*tx_stream_indices); i++) {
+ UHD_INLINE void register_tx_streams(const uint32_t tx_stream_indices[], size_t size) {
+ for (size_t i = 0; i < size; i++) {
_tx_stream_fifo_indices.insert(tx_stream_indices[i]);
}
}