From 375bb2fe6036f879f4ff5c55ea55e1e2cd07857d Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 21 Apr 2016 11:02:31 -0400 Subject: [PATCH] transport: cast away constness for free --- src/transports/smart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transports/smart.c b/src/transports/smart.c index 11b4b09a4..7a35c39d8 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -444,7 +444,7 @@ static void git_smart__free(git_transport *transport) git_pkt_free(p); git_vector_free(refs); - git__free(t->proxy.url); + git__free((char *)t->proxy.url); git_strarray_free(&t->custom_headers);