aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-24 10:22:26 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-24 10:22:26 +0000
commit9e0de68a9fac0ce5464bbd98a28abd0cedf1bd2f (patch)
tree7b9afc90c3012ba0d3345a8f6b13f65c09927e58 /utils
parent0d20c914a9d19a449b8876c14d7f6549327fafa9 (diff)
get rid of some compilation warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5757 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rwxr-xr-xutils/astman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/astman.c b/utils/astman.c
index 9e68a3b1e..8e711ea1d 100755
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -436,7 +436,7 @@ static int get_user_input(char *msg, char *buf, int buflen)
newtCenteredWindow(60,7, msg);
- inpfield = newtEntry(5, 2, "", 50, (char **) &input, 0);
+ inpfield = newtEntry(5, 2, "", 50, &input, 0);
ok = newtButton(22, 3, "OK");
cancel = newtButton(32, 3, "Cancel");
form = newtForm(NULL, NULL, 0);
@@ -603,8 +603,8 @@ static int login(char *hostname)
ulabel = newtLabel(4,2,"Username:");
plabel = newtLabel(4,3,"Password:");
- username = newtEntry(14, 2, "", 20, (char **) &user, 0);
- password = newtEntry(14, 3, "", 20, (char **) &pass, NEWT_FLAG_HIDDEN);
+ username = newtEntry(14, 2, "", 20, &user, 0);
+ password = newtEntry(14, 3, "", 20, &pass, NEWT_FLAG_HIDDEN);
form = newtForm(NULL, NULL, 0);
newtFormAddComponents(form, username, password, login, cancel, label, ulabel, plabel,NULL);