Fix compiler warning

This commit is contained in:
Lukas W
2018-07-28 14:38:51 +02:00
parent b7c09974ac
commit d4f4500359

View File

@@ -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);
}