diff options
Diffstat (limited to 'demandoc.c')
-rw-r--r-- | demandoc.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -44,7 +44,6 @@ main(int argc, char *argv[]) struct mparse *mp; int ch, i; extern int optind; - extern char *optarg; progname = strrchr(argv[0], '/'); if (progname == NULL) @@ -76,7 +75,7 @@ main(int argc, char *argv[]) } mparse_free(mp); - return(MANDOCLEVEL_OK); + return((int)MANDOCLEVEL_OK); } static void @@ -132,7 +131,7 @@ pstring(const char *p, int col, int *colp) if (ESCAPE_ERROR == esc) return; } else { - putchar(*p++); + putchar((unsigned char )*p++); (*colp)++; } } |