aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2023-10-29 16:24:23 +0100
committerEric Wild <ewild@sysmocom.de>2023-10-29 16:24:23 +0100
commit8b33260d66f0a8b70f41408c48ec7bf995e40b1e (patch)
tree0993bc298b44aa5e9553ead16c1f5bd9ceb37738
parent674863d9cb002786798da53cfe71dd007ed97833 (diff)
hackf: remove deprecated register keyword, make c++17 happy
This fixes https://osmocom.org/issues/6004
-rw-r--r--lib/hackrf/hackrf_sink_c.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hackrf/hackrf_sink_c.cc b/lib/hackrf/hackrf_sink_c.cc
index 1762934..54ff3ef 100644
--- a/lib/hackrf/hackrf_sink_c.cc
+++ b/lib/hackrf/hackrf_sink_c.cc
@@ -299,7 +299,7 @@ void convert_avx(const float* inbuf, int8_t* outbuf,const unsigned int count)
#elif USE_SSE2
void convert_sse2(const float* inbuf, int8_t* outbuf,const unsigned int count)
{
- const register __m128 mulme = _mm_set_ps( 127.0f, 127.0f, 127.0f, 127.0f );
+ const __m128 mulme = _mm_set_ps( 127.0f, 127.0f, 127.0f, 127.0f );
__m128 itmp1,itmp2,itmp3,itmp4;
__m128i otmp1,otmp2,otmp3,otmp4;