Commit 87428e07 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning
parent 01fb0d84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -784,7 +784,7 @@ static int cookie_sort(const void *p1, const void *p2)
  size_t l1 = c1->path?strlen(c1->path):0;
  size_t l2 = c2->path?strlen(c2->path):0;

  return (int)(l2 - l1);
  return (l2 > l1) ? 1 : (l2 < l1) ? -1 : 0 ;
}

/*****************************************************************************