diff --git a/astman/astman.c b/astman/astman.c index 1b5cd50bca..1fa41568b1 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 1b5cd50bca..1fa41568b1 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];