diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 13:47:25 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-03 13:47:25 +0100 |
commit | 1ac29c4be46a81c9a95cd181ddfe32d29e32a6d3 (patch) | |
tree | 56750b0cdd45b27e2eed832e226a678ae83f0211 | |
parent | f9da547426d430a8f95cdc9d424a7cdf68e730ac (diff) | |
download | tcpdump-1ac29c4be46a81c9a95cd181ddfe32d29e32a6d3.tar.gz |
Use 'u_char *' type for input buffer pointer like in most similar cases
-rw-r--r-- | smbutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -223,9 +223,9 @@ name_extract(netdissect_options *ndo, */ static int name_len(netdissect_options *ndo, - const u_char *s, const unsigned char *maxbuf) + const u_char *s, const u_char *maxbuf) { - const unsigned char *s0 = s; + const u_char *s0 = s; unsigned char c; if (s >= maxbuf) @@ -249,7 +249,7 @@ trunc: static void print_asc(netdissect_options *ndo, - const unsigned char *buf, int len) + const u_char *buf, int len) { int i; for (i = 0; i < len; i++) |