diff options
author | Steve Holme <steve_holme@hotmail.com> | 2016-03-18 07:19:31 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-03-18 07:19:31 +0000 |
commit | 7e312bdfddb8135df49e6da8e7759f26ebdf4fa3 (patch) | |
tree | 01cb27ca822057e698207f6a9940333673018419 /lib/nonblock.h | |
parent | 9c2cbc104de97c566dc94c6c394a13cb5e6f465e (diff) |
formdata.c: Fixed compilation warning
formdata.c:390: warning: cast from pointer to integer of different size
Introduced in commit ca5f9341ef this happens because a char*, which is
32-bits wide in 32-bit land, is being cast to a curl_off_t which is
64-bits wide where 64-bit integers are supported by the compiler.
This doesn't happen in 64-bit land as a pointer is the same size as a
curl_off_t.
This fix doesn't address the fact that a 64-bit value cannot be used
for CURLFORM_CONTENTLEN when set in a form array and compiled on a
32-bit platforms, it does at least suppress the compilation warning.
Diffstat (limited to 'lib/nonblock.h')
0 files changed, 0 insertions, 0 deletions