]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Use 'u_char *' type for input buffer pointer like in most similar cases
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 2 Jan 2018 18:21:03 +0000 (19:21 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 2 Jan 2018 18:21:03 +0000 (19:21 +0100)
smbutil.c

index 4969ff0b5dafa727fa7ea6eb7a6b9261df1cdd87..3f77310fc8b929fb75d69582b6bbdfaf372abb74 100644 (file)
--- a/smbutil.c
+++ b/smbutil.c
@@ -223,7 +223,7 @@ name_extract(netdissect_options *ndo,
  */
 static int
 name_len(netdissect_options *ndo,
  */
 static int
 name_len(netdissect_options *ndo,
-         const unsigned char *s, const unsigned char *maxbuf)
+         const u_char *s, const unsigned char *maxbuf)
 {
     const unsigned char *s0 = s;
     unsigned char c;
 {
     const unsigned char *s0 = s;
     unsigned char c;