summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/psl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/psl.c')
-rw-r--r--libs/libcurl/src/psl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/psl.c b/libs/libcurl/src/psl.c
index 4e9ce22f3f..22703ff234 100644
--- a/libs/libcurl/src/psl.c
+++ b/libs/libcurl/src/psl.c
@@ -40,7 +40,7 @@ void Curl_psl_destroy(struct PslCache *pslcache)
{
if(pslcache->psl) {
if(pslcache->dynamic)
- psl_free((psl_ctx_t *) pslcache->psl);
+ psl_free((psl_ctx_t *)CURL_UNCONST(pslcache->psl));
pslcache->psl = NULL;
pslcache->dynamic = FALSE;
}
@@ -48,7 +48,7 @@ void Curl_psl_destroy(struct PslCache *pslcache)
static time_t now_seconds(void)
{
- struct curltime now = Curl_now();
+ struct curltime now = curlx_now();
return now.tv_sec;
}