diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
commit | 69dcb66cd9d74b27f85a1dceca2735fd68732c1b (patch) | |
tree | 3c3e24728558c5082c714381cfbb089836bcdac2 /epan/dissectors/packet-pgm.c | |
parent | 63728d5770c3eae2cbc2130454eca1188c8c12e5 (diff) | |
download | wireshark-69dcb66cd9d74b27f85a1dceca2735fd68732c1b.tar.gz |
More char -> const char warning fixes
svn path=/trunk/; revision=15218
Diffstat (limited to 'epan/dissectors/packet-pgm.c')
-rw-r--r-- | epan/dissectors/packet-pgm.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/epan/dissectors/packet-pgm.c b/epan/dissectors/packet-pgm.c index de696e3fb5..bce9801f8a 100644 --- a/epan/dissectors/packet-pgm.c +++ b/epan/dissectors/packet-pgm.c @@ -484,11 +484,12 @@ static dissector_handle_t data_handle; * was the URL for the PGM draft. */ -static char * +static const char * optsstr(nchar_t opts) { static char msg[256]; - char *p = msg, *str; + char *p = msg; + const char *str; if (opts == 0) return(""); @@ -526,11 +527,12 @@ optsstr(nchar_t opts) } return(msg); } -static char * +static const char * paritystr(nchar_t parity) { static char msg[256]; - char *p = msg, *str; + char *p = msg; + const char *str; if (parity == 0) return(""); |