mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Cast *path to silence clang -Wpointer-sign warning.
MFC after: 1 week
This commit is contained in:
parent
fe522dc9e3
commit
9fa04b52ec
1 changed files with 1 additions and 1 deletions
|
|
@ -430,7 +430,7 @@ linux_getcwd(struct thread *td, struct linux_getcwd_args *args)
|
|||
|
||||
path = (char *)malloc(len, M_TEMP, M_WAITOK);
|
||||
|
||||
error = kern___getcwd(td, path, UIO_SYSSPACE, len);
|
||||
error = kern___getcwd(td, (u_char *)path, UIO_SYSSPACE, len);
|
||||
if (!error) {
|
||||
lenused = strlen(path) + 1;
|
||||
if (lenused <= args->bufsize) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue