From 7612a5e411380d969e86cb67db8d98fd1d692773 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 3 Jun 2022 09:40:58 +0200 Subject: [PATCH] Fix building in 32-bit archs --- src/algorithms/signal_source/libs/fpga_dma.cc | 2 +- src/algorithms/signal_source/libs/fpga_dma.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algorithms/signal_source/libs/fpga_dma.cc b/src/algorithms/signal_source/libs/fpga_dma.cc index 2d0b5c660..286ef9324 100644 --- a/src/algorithms/signal_source/libs/fpga_dma.cc +++ b/src/algorithms/signal_source/libs/fpga_dma.cc @@ -68,7 +68,7 @@ int Fpga_DMA::DMA_open() } -std::array *Fpga_DMA::get_buffer_address() const +std::array *Fpga_DMA::get_buffer_address() // NOLINT(readability-make-member-function-const) { #if INTPTR_MAX == INT64_MAX // 64-bit processor architecture return &tx_channel.buf_ptr[0].buffer; diff --git a/src/algorithms/signal_source/libs/fpga_dma.h b/src/algorithms/signal_source/libs/fpga_dma.h index 020d561e3..183500159 100644 --- a/src/algorithms/signal_source/libs/fpga_dma.h +++ b/src/algorithms/signal_source/libs/fpga_dma.h @@ -78,7 +78,7 @@ public: /*! * \brief Obtain DMA buffer address. */ - std::array *get_buffer_address(void) const; + std::array *get_buffer_address(void); // NOLINT(readability-make-member-function-const) /*! * \brief Transfer DMA data