diff --git a/src/ChangeLog b/src/ChangeLog index 5ad8e2e2..a80eeedb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-07-04 Hrvoje Niksic + + * connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match + transport_map_modified_tick. + 2005-07-04 Hrvoje Niksic * config-post.h (alloca): Updated declaration to not enumerate all diff --git a/src/connect.c b/src/connect.c index 7d20f079..83218f3f 100644 --- a/src/connect.c +++ b/src/connect.c @@ -797,7 +797,8 @@ fd_transport_context (int fd) #define LAZY_RETRIEVE_INFO(info) do { \ static struct transport_info *last_info; \ - static int last_fd = -1, last_tick; \ + static int last_fd = -1; \ + static unsigned int last_tick; \ if (!transport_map) \ info = NULL; \ else if (last_fd == fd && last_tick == transport_map_modified_tick) \