aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-23 11:41:25 +0000
commit30a855786822f15108e3a9d4dbd5579cd656abba (patch)
tree88cde02c2a8b79acb9a58e94d44b2cc686e12e9e /randpkt.c
parentcb4ac62893d38d74efc89f5d5c90c7451dc421a4 (diff)
More 'char*' -> 'const char*' changes to fix warnings.
svn path=/trunk/; revision=15015
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/randpkt.c b/randpkt.c
index bd3d3e7bae..15a3298184 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -74,12 +74,12 @@ enum {
};
typedef struct {
- char *abbrev;
- char *longname;
- int produceable_type;
- guint8 *sample_buffer;
- int sample_wtap_encap;
- int sample_length;
+ const char *abbrev;
+ const char *longname;
+ int produceable_type;
+ guint8 *sample_buffer;
+ int sample_wtap_encap;
+ int sample_length;
} pkt_example;
/* Ethernet, indicating ARP */