Author: tsoome
Date: Wed Aug  1 12:14:10 2018
New Revision: 337039
URL: https://svnweb.freebsd.org/changeset/base/337039

Log:
  libsa: assignment to char * from u_char *
  
  Cast to char * instead of u_char *

Modified:
  head/stand/libsa/nfs.c

Modified: head/stand/libsa/nfs.c
==============================================================================
--- head/stand/libsa/nfs.c      Wed Aug  1 12:06:39 2018        (r337038)
+++ head/stand/libsa/nfs.c      Wed Aug  1 12:14:10 2018        (r337039)
@@ -837,7 +837,7 @@ nfs_readdir(struct open_file *f, struct dirent *d)
        fp->off = cookie = ((uint64_t)ntohl(rent->nameplus[pos]) << 32) |
            ntohl(rent->nameplus[pos + 1]);
        pos += 2;
-       buf = (u_char *)&rent->nameplus[pos];
+       buf = (char *)&rent->nameplus[pos];
        return (0);
 
 err:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to