diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-03 21:16:01 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-03 21:16:01 +0000 |
commit | 28efcb2a0c090b3880bcc11e97390f534f57d5f8 (patch) | |
tree | a6129c99d07e2b0f08a8212220b588e52a7c797d /utils/astman.c | |
parent | 535434ea0e44d35bdc071043c2b15fdf29cf1d1a (diff) |
fix various compiler warnings (bug #3938)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5367 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/astman.c')
-rwxr-xr-x | utils/astman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/astman.c b/utils/astman.c index ebeeb67f1..036111a80 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, &input, 0); + inpfield = newtEntry(5, 2, "", 50, (char **) &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, &user, 0); - password = newtEntry(14, 3, "", 20, &pass, NEWT_FLAG_HIDDEN); + username = newtEntry(14, 2, "", 20, (char **) &user, 0); + password = newtEntry(14, 3, "", 20, (char **) &pass, NEWT_FLAG_HIDDEN); form = newtForm(NULL, NULL, 0); newtFormAddComponents(form, username, password, login, cancel, label, ulabel, plabel,NULL); |