summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-04-21 11:02:31 -0400
committerEdward Thomson <ethomson@github.com>2016-04-21 11:02:31 -0400
commit375bb2fe6036f879f4ff5c55ea55e1e2cd07857d (patch)
treedbcd3ef9d6eec8e34515e3ea737227cdd27532be
parente0aed4bda37816650efad44af352c6d7f5ec0501 (diff)
downloadlibgit2-375bb2fe6036f879f4ff5c55ea55e1e2cd07857d.tar.gz
transport: cast away constness for free
-rw-r--r--src/transports/smart.c2
1 files changed, 1 insertions, 1 deletions
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);