diff options
author | Philip Kelley <phkelley@hotmail.com> | 2012-11-29 08:29:26 -0500 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2012-11-29 08:29:26 -0500 |
commit | 6762fe087bd75e60b3e551f94c8ecda89d374c83 (patch) | |
tree | 32e63aa5c1f225e6ad754bed58184b2a142ee8ec /src/transports/smart.c | |
parent | ac22d08f2fbe53c28a0f7dffcfa44c5408dcf78f (diff) | |
download | libgit2-6762fe087bd75e60b3e551f94c8ecda89d374c83.tar.gz |
Remove casts of return values of type void *
Diffstat (limited to 'src/transports/smart.c')
-rw-r--r-- | src/transports/smart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/smart.c b/src/transports/smart.c index 00f8832e0..94d389b52 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -300,7 +300,7 @@ int git_transport_smart(git_transport **out, git_remote *owner, void *param) if (!param) return -1; - t = (transport_smart *)git__calloc(sizeof(transport_smart), 1); + t = git__calloc(sizeof(transport_smart), 1); GITERR_CHECK_ALLOC(t); t->parent.set_callbacks = git_smart__set_callbacks; |