[master] 7351edca9 Forgot missing casts
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Feb 18 16:03:06 UTC 2020
commit 7351edca9532e393fdab485c0d97794c18553127
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Feb 18 17:02:13 2020 +0100
Forgot missing casts
diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index 12929bbd3..65836903c 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -928,7 +928,7 @@ xyzzy_store_ip(VRT_CTX, VCL_IP ip)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
- priv = VRT_priv_task(ctx, xyzzy_store_ip);
+ priv = VRT_priv_task(ctx, (void *)xyzzy_store_ip);
if (priv == NULL) {
VRT_fail(ctx, "no priv task - out of ws?");
return;
@@ -947,7 +947,7 @@ xyzzy_get_ip(VRT_CTX)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
- priv = VRT_priv_task(ctx, xyzzy_store_ip);
+ priv = VRT_priv_task(ctx, (void *)xyzzy_store_ip);
AN(priv);
AZ(priv->free);
More information about the varnish-commit
mailing list