mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-17 23:55:15 +00:00
Apply fixes by clang-tidy
This commit is contained in:
@@ -108,7 +108,7 @@ unsigned fpga_switch::fpga_switch_test_register(
|
||||
|
||||
void fpga_switch::close_device()
|
||||
{
|
||||
unsigned *aux = const_cast<unsigned *>(d_map_base);
|
||||
auto *aux = const_cast<unsigned *>(d_map_base);
|
||||
if (munmap(static_cast<void *>(aux), PAGE_SIZE) == -1)
|
||||
{
|
||||
std::cout << "Failed to unmap memory uio" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user