libsa: assignment to char * from u_char *
Cast to char * instead of u_char *
This commit is contained in:
parent
d07ea92f55
commit
8696ce6e29
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user