libsa: assignment to char * from u_char *

Cast to char * instead of u_char *
This commit is contained in:
tsoome 2018-08-01 12:14:10 +00:00
parent 83a8c28d71
commit d97a81a67a

@ -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: