Date: Wed, 1 Aug 2018 12:14:10 +0000 (UTC) From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r337039 - head/stand/libsa Message-ID: <201808011214.w71CEA90021012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808011214.w71CEA90021012>