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
1 changed files with 6 additions and 6 deletions

View File

@ -191,7 +191,7 @@ recompute:
z = q[j-1]+fw; z = q[j-1]+fw;
} }
if (jz < SDL_arraysize(iq)) { 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 */ /* compute n */