diff 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
line wrap: on
line diff
--- a/dev/s2a-regen.c	Sun Apr 23 04:09:24 2023 +0000
+++ b/dev/s2a-regen.c	Sun Apr 23 04:14:24 2023 +0000
@@ -44,7 +44,7 @@
 		if ((input & 15) == 0)
 			putchar('\t');
 		output = alaw_compress(input);
-		printf("%03u,", output);
+		printf("%3u,", output);
 		if ((input & 15) == 15)
 			putchar('\n');
 	}