From 69dcb66cd9d74b27f85a1dceca2735fd68732c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Fri, 5 Aug 2005 00:23:22 +0000 Subject: More char -> const char warning fixes svn path=/trunk/; revision=15218 --- epan/dissectors/packet-pgm.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'epan/dissectors/packet-pgm.c') 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(""); -- cgit v1.2.1