mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-01-27 21:51:51 +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+");
|
FILE *fs = fopen ("extol.txt", "a+");
|
||||||
fseek (fs, 0L, SEEK_END);
|
fseek (fs, 0L, SEEK_END);
|
||||||
result = extol (fs);
|
result = extol (fs);
|
||||||
for (result <<= 4; (result & 15) != 15; result++)
|
for (result <<= 4, result &= ~15; (result & 15) != 15; result++)
|
||||||
fputc ('=', fs);
|
fputc ('=', fs);
|
||||||
result >>= 4;
|
result >>= 4;
|
||||||
fprintf (fs, "\n");
|
fprintf (fs, "\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user