ref: 243987518a65218ffe5cf260756cbf66583a9bb4
parent: 08088411259056f63774befb2d00951fdd5c46ba
author: Mark Harris <mark.hsj@gmail.com>
date: Sat Jul 9 18:14:13 EDT 2022
Silence Clang 13+ null-pointer-subtraction warning
--- a/celt/pitch.c
+++ b/celt/pitch.c
@@ -258,7 +258,7 @@
opus_val32 maxcorr=1;
#endif
celt_assert(max_pitch>0);
- celt_sig_assert((((unsigned char *)_x-(unsigned char *)NULL)&3)==0);
+ celt_sig_assert(((size_t)_x&3)==0);
for (i=0;i<max_pitch-3;i+=4)
{
opus_val32 sum[4]={0,0,0,0};