k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309.

This commit is contained in:
Ozkan Sezer 2020-10-08 11:51:02 +03:00
parent 061256a3b3
commit 54bb9aaccb

View File

@ -191,7 +191,7 @@ recompute:
z = q[j-1]+fw;
}
if (jz < SDL_arraysize(iq)) {
SDL_memset(&iq[jz], 0, sizeof (q) - (jz * sizeof (iq[0])));
SDL_memset(&iq[jz], 0, sizeof (iq) - (jz * sizeof (iq[0])));
}
/* compute n */