diff options
author | pfg <pfg@FreeBSD.org> | 2014-07-22 23:29:54 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-07-22 23:29:54 +0000 |
commit | 607bced4fa031f2dbd13539133b0971e2034c49e (patch) | |
tree | 5d43d4f1bb0414058f1a51fef29882b6a22a3a19 /lib/libvmmapi | |
parent | daa5553600df7b8674a3a716ea3add7e93b11703 (diff) | |
download | FreeBSD-src-607bced4fa031f2dbd13539133b0971e2034c49e.zip FreeBSD-src-607bced4fa031f2dbd13539133b0971e2034c49e.tar.gz |
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
Diffstat (limited to 'lib/libvmmapi')
0 files changed, 0 insertions, 0 deletions