aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-06-26 11:10:26 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-06-26 11:10:26 +0000
commit10ffd2da48d601ae4f1548a4028015195d605141 (patch)
treecac615d7fc55142ee414281f8fbcf2f13cc550ef /epan
parent1bad9775dd2b1331e5c86c0bf6430c0451ea48fa (diff)
packet-diameter.c(856) : warning C4090: 'function' : different 'const' qualifiers
packet-diameter.c(856) : warning C4024: 'addVendor' : different types for formal and actual parameter 2 packet-diameter.c(857) : warning C4090: 'function' : different 'const' qualifiers packet-diameter.c(857) : warning C4024: 'addVendor' : different types for formal and actual parameter 3 packet-diameter.c(863) : warning C4090: 'function' : different 'const' qualifiers packet-diameter.c(863) : warning C4024: 'addCommand' : different types for formal and actual parameter 2 svn path=/trunk/; revision=14778
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-diameter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c
index 3fc8f6e33e..f2fdc99664 100644
--- a/epan/dissectors/packet-diameter.c
+++ b/epan/dissectors/packet-diameter.c
@@ -562,7 +562,7 @@ xmlParseAVP(xmlNodePtr cur)
* This routine will add a command to the list of commands.
*/
static int
-addCommand(int code, char *name, char *vendorId)
+addCommand(int code, const char *name, char *vendorId)
{
CommandCode *entry;
@@ -653,7 +653,7 @@ dictionaryAddApplication(char *name, int id)
* This routine will add a vendor to the vendors list
*/
static int
-addVendor(int id, gchar *name, gchar *longName)
+addVendor(int id, const gchar *name, const gchar *longName)
{
VendorId *vendor;