The result of getopt() is "int" and should be treated as such

This commit is contained in:
Pavel Roskin
2000-07-17 16:17:19 +00:00
parent bf181b9338
commit 47d4926244
8 changed files with 12 additions and 10 deletions

View File

@ -30,7 +30,7 @@ echo_main(int argc, char** argv)
{
register char **ap;
char *p;
register char c;
int c;
int nflag = 0;
int eflag = 0;