[Asterisk-cvs] asterisk/utils astman.c,1.11,1.12
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Sun Apr 3 16:23:04 CDT 2005
Update of /usr/cvsroot/asterisk/utils
In directory mongoose.digium.com:/tmp/cvs-serv27727/utils
Modified Files:
astman.c
Log Message:
fix various compiler warnings (bug #3938)
Index: astman.c
===================================================================
RCS file: /usr/cvsroot/asterisk/utils/astman.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- astman.c 24 Jul 2004 03:52:53 -0000 1.11
+++ astman.c 3 Apr 2005 21:16:01 -0000 1.12
@@ -436,7 +436,7 @@
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 @@
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);
More information about the svn-commits
mailing list