summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--num.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/num.c b/num.c
index 3140619..4414515 100644
--- a/num.c
+++ b/num.c
@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
printf("Sgn. Dec : %lld\n", snum);
printf("Hex : %*.*llX\n", h_width, h_width, num);
printf("Binary : %s\n", binary(num, b_width));
- printf("Ascii : %s\n", ascii(num, b_width/4));
+ printf("Ascii : %s\n", ascii(num, b_width/8));
}
return EXIT_SUCCESS;