1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-31 11:19:18 +00:00

Fix building in 32-bit archs

This commit is contained in:
Carles Fernandez 2022-06-03 09:40:58 +02:00
parent 30481baaa3
commit 7612a5e411
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ int Fpga_DMA::DMA_open()
}
std::array<int8_t, BUFFER_SIZE> *Fpga_DMA::get_buffer_address() const
std::array<int8_t, BUFFER_SIZE> *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;

View File

@ -78,7 +78,7 @@ public:
/*!
* \brief Obtain DMA buffer address.
*/
std::array<int8_t, BUFFER_SIZE> *get_buffer_address(void) const;
std::array<int8_t, BUFFER_SIZE> *get_buffer_address(void); // NOLINT(readability-make-member-function-const)
/*!
* \brief Transfer DMA data