diff options
author | Marcel Raad <marcelraad@users.sf.net> | 2014-07-23 12:05:47 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-23 12:06:57 +0200 |
commit | 2cd0c2d244a95f1c9e21a8854234023ceec194b6 (patch) | |
tree | e73c69235f7bdcea6c92d4788f3d9e6f5f9d9ec8 /src/tool_setopt.h | |
parent | 05a887ebfa98d02ddc02ef6080cb98554a414010 (diff) |
conncache: fix compiler warning
warning C4267: '=' : conversion from 'size_t' to 'long', possible loss
of data
The member connection_id of struct connectdata is a long (always a
32-bit signed integer on Visual C++) and the member next_connection_id
of struct conncache is a size_t, so one of them should be changed to
match the other.
This patch the size_t in struct conncache to long (the less invasive
change as that variable is only ever used in a single code line).
Bug: http://curl.haxx.se/bug/view.cgi?id=1399
Diffstat (limited to 'src/tool_setopt.h')
0 files changed, 0 insertions, 0 deletions