mirror of
https://github.com/curl/curl.git
synced 2026-05-20 08:16:19 +03:00
fix compiler warning
This commit is contained in:
parent
01fb0d8497
commit
87428e07ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue