From 0b53fc3f7a95c50c94451c73049060ac746c08cf Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Wed, 18 Oct 2023 14:56:14 -0400 Subject: [PATCH] Fix undefined behaviour in volk_8u_x4_conv_k7_r2_8u Signed-off-by: Clayton Smith --- kernels/volk/volk_8u_x4_conv_k7_r2_8u.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernels/volk/volk_8u_x4_conv_k7_r2_8u.h b/kernels/volk/volk_8u_x4_conv_k7_r2_8u.h index 90e407dec..239cdd1b6 100644 --- a/kernels/volk/volk_8u_x4_conv_k7_r2_8u.h +++ b/kernels/volk/volk_8u_x4_conv_k7_r2_8u.h @@ -82,7 +82,8 @@ static inline void BFLY(int i, decision_t* d, unsigned char* Branchtab) { - int j, decision0, decision1; + int j; + unsigned int decision0, decision1; unsigned char metric, m0, m1, m2, m3; int NUMSTATES = 64;