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