summaryrefslogtreecommitdiff
path: root/lib/splay.c
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-07-29 01:13:42 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-07-29 01:13:42 -0400
commitf8614af527f19058a137f1e711629bfc48f50415 (patch)
treef9f94adabcf745d0de0eaa0889633445e2957ebc /lib/splay.c
parent171f8ded26d2845ef358c62f6e95ec34468349ae (diff)
downloadcurl-f8614af527f19058a137f1e711629bfc48f50415.tar.gz
splay: fix signed/unsigned mismatch warning
Follow-up to 4dee50b. Ref: https://github.com/curl/curl/pull/1693
Diffstat (limited to 'lib/splay.c')
-rw-r--r--lib/splay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/splay.c b/lib/splay.c
index 24c6491c5..68ff9c5db 100644
--- a/lib/splay.c
+++ b/lib/splay.c
@@ -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;