]> sjero.net Git - wget/commitdiff
[svn] Make last_tick unsigned.
authorhniksic <devnull@localhost>
Mon, 4 Jul 2005 12:30:03 +0000 (05:30 -0700)
committerhniksic <devnull@localhost>
Mon, 4 Jul 2005 12:30:03 +0000 (05:30 -0700)
src/ChangeLog
src/connect.c

index 5ad8e2e26afc44fd174b4944dd6c35dae64bc398..a80eeedb44881152ec966200d4b1104093028c05 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match
+       transport_map_modified_tick.
+
 2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * config-post.h (alloca): Updated declaration to not enumerate all
index 7d20f0793d8f19671daef0be2bba433cba195b95..83218f3f29b77b2b92f580f92a8dfa6b2c1637f6 100644 (file)
@@ -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)  \