summaryrefslogtreecommitdiff
path: root/src/netops.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-11-13 11:12:31 -0800
committerRussell Belfer <rb@github.com>2013-11-13 11:12:31 -0800
commit98eaf39a87164eeb284df5c0239c3a31dfb538e7 (patch)
tree98cf7cd59f4ac2b30766b50dcef67ff631b6dbd9 /src/netops.c
parentcfd16ca28e593d084350b497b06eac7cb7a6c240 (diff)
downloadlibgit2-98eaf39a87164eeb284df5c0239c3a31dfb538e7.tar.gz
Fix warnings
Diffstat (limited to 'src/netops.c')
-rw-r--r--src/netops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c
index 592e46449..15ed0fc26 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -662,7 +662,7 @@ void gitno_connection_data_free_ptrs(gitno_connection_data *d)
static char* unescape(char *str)
{
int x, y;
- size_t len = strlen(str);
+ int len = (int)strlen(str);
for (x=y=0; str[y]; ++x, ++y) {
if ((str[x] = str[y]) == '%') {