libsa: assignment to char * from u_char *

Cast to char * instead of u_char *
This commit is contained in:
Toomas Soome 2018-08-01 12:14:10 +00:00
parent d07ea92f55
commit 8696ce6e29

View File

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