Skip to content

Commit cda9f41

Browse files
authored
Merge pull request opencv#26266 from mshabunin:fix-rvv071-build
RISC-V: fix build with RVV 0.7.1
2 parents 3901426 + 73d68f3 commit cda9f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/include/opencv2/core/hal/intrin_rvv071.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ template <> inline v_##_Tp##x##num v_setzero_() { return v_setzero_##suffix(); }
360360
template <> inline v_##_Tp##x##num v_setall_(__Tp v) { return v_setall_##suffix(v); }
361361

362362
OPENCV_HAL_IMPL_RISCVV_INIT_SET(uchar, uint8, u8, u8, 16)
363-
OPENCV_HAL_IMPL_RISCVV_INIT_SET(char, int8, s8, i8, 16)
363+
OPENCV_HAL_IMPL_RISCVV_INIT_SET(schar, int8, s8, i8, 16)
364364
OPENCV_HAL_IMPL_RISCVV_INIT_SET(ushort, uint16, u16, u16, 8)
365365
OPENCV_HAL_IMPL_RISCVV_INIT_SET(short, int16, s16, i16, 8)
366366
OPENCV_HAL_IMPL_RISCVV_INIT_SET(unsigned int, uint32, u32, u32, 4)

0 commit comments

Comments
 (0)