mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
splay: fix signed/unsigned mismatch warning
Follow-up to 4dee50b
.
Ref: https://github.com/curl/curl/pull/1693
This commit is contained in:
parent
171f8ded26
commit
f8614af527
@ -102,7 +102,7 @@ struct Curl_tree *Curl_splayinsert(struct curltime i,
|
||||
struct Curl_tree *node)
|
||||
{
|
||||
static const struct curltime KEY_NOTUSED = {
|
||||
-1, -1
|
||||
(time_t)-1, (unsigned int)-1
|
||||
}; /* will *NEVER* appear */
|
||||
|
||||
if(node == NULL)
|
||||
@ -212,7 +212,7 @@ int Curl_splayremovebyaddr(struct Curl_tree *t,
|
||||
struct Curl_tree **newroot)
|
||||
{
|
||||
static const struct curltime KEY_NOTUSED = {
|
||||
-1, -1
|
||||
(time_t)-1, (unsigned int)-1
|
||||
}; /* will *NEVER* appear */
|
||||
struct Curl_tree *x;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user