diff options
-rw-r--r-- | src/delivery_install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delivery_install.c b/src/delivery_install.c index 6f745a7..1ecedc5 100644 --- a/src/delivery_install.c +++ b/src/delivery_install.c @@ -1,6 +1,6 @@ #include "delivery.h" -static const struct Test *requirement_from_test(struct Delivery *ctx, const char *name) { +static struct Test *requirement_from_test(struct Delivery *ctx, const char *name) { struct Test *result; result = NULL; @@ -61,7 +61,7 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha continue; } if (INSTALL_PKG_PIP_DEFERRED & type) { - struct Test *info = (struct Test *) requirement_from_test(ctx, name); + struct Test *info = requirement_from_test(ctx, name); if (info) { if (!strcmp(info->version, "HEAD")) { struct StrList *tag_data = strlist_init(); |