diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-07-22 07:55:51 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-07-22 07:55:51 +0000 |
commit | f67b00ad9a7811424be4415ad3e04394ff747304 (patch) | |
tree | dfa698638532a7d158c1f4fe57013be80b33212e /wiretap/airopeek9.c | |
parent | eb1ff24278c89a8308ffd2e1bcdc7161aac817fb (diff) | |
download | wireshark-f67b00ad9a7811424be4415ad3e04394ff747304.tar.gz |
More 'char*' -> 'const char*' warning fixes
svn path=/trunk/; revision=14986
Diffstat (limited to 'wiretap/airopeek9.c')
-rw-r--r-- | wiretap/airopeek9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/airopeek9.c b/wiretap/airopeek9.c index 7cf4f97475..8cc276f54a 100644 --- a/wiretap/airopeek9.c +++ b/wiretap/airopeek9.c @@ -84,10 +84,10 @@ static gboolean airopeekv9_seek_read(wtap *wth, long seek_off, int *err, gchar **err_info); static void airopeekv9_close(wtap *wth); -static int wtap_file_read_pattern (wtap *wth, char *pattern, int *err) +static int wtap_file_read_pattern (wtap *wth, const char *pattern, int *err) { int c; - char *cp; + const char *cp; cp = pattern; while (*cp) @@ -119,7 +119,7 @@ static int wtap_file_read_pattern (wtap *wth, char *pattern, int *err) static int wtap_file_read_till_separator (wtap *wth, char *buffer, int buflen, - char *separators, int *err) + const char *separators, int *err) { int c; char *cp; |