diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 07:57:58 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 16:10:12 +0200 |
| commit | b8457baae24269c9fb777591e2a0e1b425ba31b6 (patch) | |
| tree | 777a98dbd74f4906ac2faf0042e5118578196db7 /src/netops.c | |
| parent | 944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff) | |
| download | libgit2-b8457baae24269c9fb777591e2a0e1b425ba31b6.tar.gz | |
portability: Improve x86/amd64 compatibility
Diffstat (limited to 'src/netops.c')
| -rw-r--r-- | src/netops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netops.c b/src/netops.c index b369e5106..7c057c596 100644 --- a/src/netops.c +++ b/src/netops.c @@ -61,7 +61,7 @@ static int ssl_set_error(gitno_ssl *ssl, int error) } #endif -void gitno_buffer_setup(git_transport *t, gitno_buffer *buf, char *data, unsigned int len) +void gitno_buffer_setup(git_transport *t, gitno_buffer *buf, char *data, size_t len) { memset(buf, 0x0, sizeof(gitno_buffer)); memset(data, 0x0, len); |
