Searched hist:"86727 cc9c641d61be9930e7409e718bed1a553f7" (Results 1 – 2 of 2) sorted by relevance
/freebsd/lib/libc/stdio/ |
H A D | fputws.c | diff 86727cc9c641d61be9930e7409e718bed1a553f7 Wed Jul 23 01:29:54 CEST 2014 Pedro F. Giffuni <pfg@FreeBSD.org> Avoid possible cast degradation.
For consistency with r268985 for fputs.c, assign iov_len first, avoiding the cast to uio_resid (int in stdio) from degrading the value.
We currently don't support lengths higher than INT_MAX so this change is little more than cosmetic.
MFC after: 3 days
|
H A D | putw.c | diff 86727cc9c641d61be9930e7409e718bed1a553f7 Wed Jul 23 01:29:54 CEST 2014 Pedro F. Giffuni <pfg@FreeBSD.org> Avoid possible cast degradation.
For consistency with r268985 for fputs.c, assign iov_len first, avoiding the cast to uio_resid (int in stdio) from degrading the value.
We currently don't support lengths higher than INT_MAX so this change is little more than cosmetic.
MFC after: 3 days
|