Skip to content
Snippets Groups Projects
Commit 5a1d81ac authored by Russell Bryant's avatar Russell Bryant
Browse files

get rid of some compilation warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d08dd1e1
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment