Commit f8614af5 authored by Jay Satiro's avatar Jay Satiro
Browse files

splay: fix signed/unsigned mismatch warning

parent 171f8ded
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -102,7 +102,7 @@ struct Curl_tree *Curl_splayinsert(struct curltime i,
                                   struct Curl_tree *node)
                                   struct Curl_tree *node)
{
{
  static const struct curltime KEY_NOTUSED = {
  static const struct curltime KEY_NOTUSED = {
    -1, -1
    (time_t)-1, (unsigned int)-1
  }; /* will *NEVER* appear */
  }; /* will *NEVER* appear */


  if(node == NULL)
  if(node == NULL)
@@ -212,7 +212,7 @@ int Curl_splayremovebyaddr(struct Curl_tree *t,
                           struct Curl_tree **newroot)
                           struct Curl_tree **newroot)
{
{
  static const struct curltime KEY_NOTUSED = {
  static const struct curltime KEY_NOTUSED = {
    -1, -1
    (time_t)-1, (unsigned int)-1
  }; /* will *NEVER* appear */
  }; /* will *NEVER* appear */
  struct Curl_tree *x;
  struct Curl_tree *x;