summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 13:47:25 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-03 13:47:25 +0100
commit1ac29c4be46a81c9a95cd181ddfe32d29e32a6d3 (patch)
tree56750b0cdd45b27e2eed832e226a678ae83f0211
parentf9da547426d430a8f95cdc9d424a7cdf68e730ac (diff)
downloadtcpdump-1ac29c4be46a81c9a95cd181ddfe32d29e32a6d3.tar.gz
Use 'u_char *' type for input buffer pointer like in most similar cases
-rw-r--r--smbutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/smbutil.c b/smbutil.c
index 3f77310f..536cd30f 100644
--- a/smbutil.c
+++ b/smbutil.c
@@ -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++)