comparison dev/s2a-regen.c @ 223:3afbc6c64172

dev/s2a-regen.c: printf format to match original table
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 04:14:24 +0000
parents 842136bbd0da
children
comparison
equal deleted inserted replaced
222:842136bbd0da 223:3afbc6c64172
42 42
43 for (input = 0; input < 4096; input++) { 43 for (input = 0; input < 4096; input++) {
44 if ((input & 15) == 0) 44 if ((input & 15) == 0)
45 putchar('\t'); 45 putchar('\t');
46 output = alaw_compress(input); 46 output = alaw_compress(input);
47 printf("%03u,", output); 47 printf("%3u,", output);
48 if ((input & 15) == 15) 48 if ((input & 15) == 15)
49 putchar('\n'); 49 putchar('\n');
50 } 50 }
51 exit(0); 51 exit(0);
52 } 52 }