aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_output.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2020-01-28 10:09:05 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2020-01-28 10:09:05 +0000
commitdc13edbc7df93478417321a5011326dbe2e13c47 (patch)
treebbc947bddde42cb7b766383212d28e7fb8279b32 /sys/netinet/sctp_output.c
parent45c88a3cbb2554f5287cfc58fd56b40dde9b4e9e (diff)
downloadsrc-dc13edbc7df93478417321a5011326dbe2e13c47.tar.gz
src-dc13edbc7df93478417321a5011326dbe2e13c47.zip
Fix build issues for the userland stack on 32-bit platforms.
Reported by: Felix Weinrank MFC after: 1 week
Notes
Notes: svn path=/head/; revision=357197
Diffstat (limited to 'sys/netinet/sctp_output.c')
-rw-r--r--sys/netinet/sctp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index bd12494a8300..655390677e61 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -6885,7 +6885,7 @@ sctp_sendall(struct sctp_inpcb *inp, struct uio *uio, struct mbuf *m,
/* There is another. */
return (EBUSY);
}
- if (uio->uio_resid > SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
+ if (uio->uio_resid > (ssize_t)SCTP_BASE_SYSCTL(sctp_sendall_limit)) {
/* You must not be larger than the limit! */
return (EMSGSIZE);
}