Fix compiler warning
This commit is contained in:
@@ -72,7 +72,7 @@ int sp_revsc_init(sp_data *sp, sp_revsc *p)
|
||||
sp_auxdata_alloc(&p->aux, nBytes);
|
||||
nBytes = 0;
|
||||
for (i = 0; i < 8; i++) {
|
||||
p->delayLines[i].buf = ((char*) p->aux.ptr) + nBytes;
|
||||
p->delayLines[i].buf = (SPFLOAT*) (((char*) p->aux.ptr) + nBytes);
|
||||
init_delay_line(p, &p->delayLines[i], i);
|
||||
nBytes += delay_line_bytes_alloc(sp->sr, 1, i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user