diff options
author | pjd <pjd@FreeBSD.org> | 2009-02-23 07:33:29 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2009-02-23 07:33:29 +0000 |
commit | 06d3dd6736d36f5075d5b09deedbaef57343db37 (patch) | |
tree | 4e4a63e872b7b79c7f0ca3a6d44adc2165d535f0 /tools/regression/fstest/tests | |
parent | e58241dc4a0f1399719ef20837f4c764ea24bc37 (diff) | |
download | FreeBSD-src-06d3dd6736d36f5075d5b09deedbaef57343db37.zip FreeBSD-src-06d3dd6736d36f5075d5b09deedbaef57343db37.tar.gz |
Add explicit casting in few places.
It is only really necessary for open(2)'s third argument, which is optional and
obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64
bits. On little endian it works, because we take lower 32 bits, but on big
endian platforms we take upper 32 bits, so we end up with 0.
Reported by: Milan Čermák <Milan.Cermak@Sun.COM>
Diffstat (limited to 'tools/regression/fstest/tests')
0 files changed, 0 insertions, 0 deletions