diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-14 19:12:00 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2007-10-14 19:12:00 +0000 |
commit | 00a2ad1c698ff614e31197a81e4a3ac01733daf6 (patch) | |
tree | f936a00b079dea8413a5d3462738fdea85529a58 /network_io | |
parent | baa1357722e5e62d0b30ab7e379acaed759d4d48 (diff) | |
download | libapr-00a2ad1c698ff614e31197a81e4a3ac01733daf6.tar.gz |
Here is the correct cast for signed-ness where size_t is off_t
bytes long, while size_t is unsigned and off_t is usually signed.
This is true of Windows/x64
This solves the emit without causing truncation, we have the
assumption that off_t can't possibly be smaller than size_t
(or how would one have a swapfile :)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@584581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
0 files changed, 0 insertions, 0 deletions