mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-13 18:52:03 +05:30
extol.c: clear 4 rightmost bits before the loop
This commit is contained in:
parent
1060bfbe45
commit
988389a6ea
@ -34,7 +34,7 @@ extol (FILE *f)
|
||||
FILE *fs = fopen ("extol.txt", "a+");
|
||||
fseek (fs, 0L, SEEK_END);
|
||||
result = extol (fs);
|
||||
for (result <<= 4; (result & 15) != 15; result++)
|
||||
for (result <<= 4, result &= ~15; (result & 15) != 15; result++)
|
||||
fputc ('=', fs);
|
||||
result >>= 4;
|
||||
fprintf (fs, "\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user