svn commit: r337039 - head/stand/libsa
Toomas Soome
tsoome at FreeBSD.org
Wed Aug 1 12:14:11 UTC 2018
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:
More information about the svn-src-head
mailing list