diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-21 05:26:49 +0400 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-21 05:26:49 +0400 |
commit | 1d1d95051a288b6bf64498aac9fb20047f384b7d (patch) | |
tree | 2c99ce8ba7d4d592806fbf81899e663bc884676b /length.c | |
parent | cf8d38a3eb46f4f9c4e674d43cff486cd79c9c0f (diff) |
More Doc updates. cmdedit and more termio fixes.
Diffstat (limited to 'length.c')
-rw-r--r-- | length.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,6 +9,6 @@ extern int length_main(int argc, char **argv) if (argc != 2 || **(argv + 1) == '-') { usage("length string\n"); } - printf("%d\n", strlen(argv[1])); + printf("%lu\n", (long)strlen(argv[1])); return (TRUE); } |