liquid-dsp: fix build on various platforms
This commit is contained in:
parent
b7ff049c23
commit
0dbb7c6168
1 changed files with 19 additions and 0 deletions
19
srcpkgs/liquid-dsp/patches/fix-portable-typo.patch
Normal file
19
srcpkgs/liquid-dsp/patches/fix-portable-typo.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
commit 9030406bc1e0df262471708b8952dde60ab49f9d
|
||||||
|
Author: q66 <daniel@octaforge.org>
|
||||||
|
Date: Mon Jun 13 19:12:58 2022 +0200
|
||||||
|
|
||||||
|
fix typo
|
||||||
|
|
||||||
|
diff --git a/src/dotprod/src/dotprod_rrrf.av.c b/src/dotprod/src/dotprod_rrrf.av.c
|
||||||
|
index 4aebc45..a54763c 100644
|
||||||
|
--- a/src/dotprod/src/dotprod_rrrf.av.c
|
||||||
|
+++ b/src/dotprod/src/dotprod_rrrf.av.c
|
||||||
|
@@ -117,7 +117,7 @@ dotprod_rrrf dotprod_rrrf_create_opt(float * _h,
|
||||||
|
for (i=0; i<4; i++) {
|
||||||
|
q->h[i] = calloc(1+(q->n+i-1)/4,sizeof(vector float));
|
||||||
|
for (j=0; j<q->n; j++)
|
||||||
|
- e->h[i][j+i] = _h[_rev ? q->n-j-1 : j];
|
||||||
|
+ q->h[i][j+i] = _h[_rev ? q->n-j-1 : j];
|
||||||
|
}
|
||||||
|
|
||||||
|
return q;
|
Loading…
Add table
Add a link
Reference in a new issue