mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
fix warnings
This commit is contained in:
parent
818c8b696b
commit
ca315837c7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109906
@ -772,7 +772,7 @@ msgsnd(td, uap)
|
||||
goto done2;
|
||||
}
|
||||
mtx_lock(&msq_mtx);
|
||||
user_msgp = (char *)user_msgp + sizeof(msghdr->msg_type);
|
||||
user_msgp = (const char *)user_msgp + sizeof(msghdr->msg_type);
|
||||
|
||||
/*
|
||||
* Validate the message type
|
||||
@ -815,7 +815,7 @@ msgsnd(td, uap)
|
||||
}
|
||||
mtx_lock(&msq_mtx);
|
||||
msgsz -= tlen;
|
||||
user_msgp = (char *)user_msgp + tlen;
|
||||
user_msgp = (const char *)user_msgp + tlen;
|
||||
next = msgmaps[next].next;
|
||||
}
|
||||
if (next != -1)
|
||||
|
Loading…
Reference in New Issue
Block a user