mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning
This commit is contained in:
parent
01fb0d8497
commit
87428e07ca
@ -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…
Reference in New Issue
Block a user