diff options
-rwxr-xr-x | astman/astman.c | 6 | ||||
-rwxr-xr-x | utils/astman.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/astman/astman.c b/astman/astman.c index 1b5cd50bc..1fa41568b 100755 --- a/astman/astman.c +++ b/astman/astman.c @@ -430,7 +430,7 @@ static int get_user_input(char *msg, char *buf, int buflen) newtComponent ok; newtComponent cancel; newtComponent inpfield; - char *input; + const char *input; int res = -1; struct newtExitStruct es; @@ -553,8 +553,8 @@ static int login(char *hostname) newtComponent label; newtComponent ulabel; newtComponent plabel; - char *user; - char *pass; + const char *user; + const char *pass; struct message *m; struct newtExitStruct es; char tmp[55]; diff --git a/utils/astman.c b/utils/astman.c index 1b5cd50bc..1fa41568b 100755 --- a/utils/astman.c +++ b/utils/astman.c @@ -430,7 +430,7 @@ static int get_user_input(char *msg, char *buf, int buflen) newtComponent ok; newtComponent cancel; newtComponent inpfield; - char *input; + const char *input; int res = -1; struct newtExitStruct es; @@ -553,8 +553,8 @@ static int login(char *hostname) newtComponent label; newtComponent ulabel; newtComponent plabel; - char *user; - char *pass; + const char *user; + const char *pass; struct message *m; struct newtExitStruct es; char tmp[55]; |