summaryrefslogtreecommitdiff
path: root/src/netops.c
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2013-11-12 19:44:13 +0800
committerLinquize <linquize@yahoo.com.hk>2013-11-12 19:46:25 +0800
commitfb190bbbd06952b369b4fb6c06fa827802671332 (patch)
tree24aeebf0ab1aed724ade3947503e9e6f68ae4f58 /src/netops.c
parent6414fd338df89eaa5bd4c64f7ab310fb7d5758bb (diff)
downloadlibgit2-fb190bbbd06952b369b4fb6c06fa827802671332.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 d7f17b1fc..592e46449 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;
- int len = strlen(str);
+ size_t len = strlen(str);
for (x=y=0; str[y]; ++x, ++y) {
if ((str[x] = str[y]) == '%') {