mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
Address some warnings which showed up on the userland version.
MFC after: 1 week
This commit is contained in:
parent
6f0c167fe2
commit
04aab884d7
2 changed files with 3 additions and 3 deletions
|
|
@ -2788,7 +2788,7 @@ flags_out:
|
|||
|
||||
if (stcb) {
|
||||
/* simply copy out the sockaddr_storage... */
|
||||
int len;
|
||||
size_t len;
|
||||
|
||||
len = *optsize;
|
||||
if (len > stcb->asoc.primary_destination->ro._l_addr.sa.sa_len)
|
||||
|
|
|
|||
|
|
@ -5868,8 +5868,8 @@ get_more_data:
|
|||
goto release;
|
||||
}
|
||||
if ((uio->uio_resid == 0) ||
|
||||
((in_eeor_mode) && (copied_so_far >= max(so->so_rcv.sb_lowat, 1)))
|
||||
) {
|
||||
((in_eeor_mode) &&
|
||||
(copied_so_far >= (uint32_t) max(so->so_rcv.sb_lowat, 1)))) {
|
||||
goto release;
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue