]> git.ipfire.org Git - thirdparty/git.git/blobdiff - send-pack.c
v0 protocol: use size_t for capability length/offset
[thirdparty/git.git] / send-pack.c
index f81bbb28d79259f25db58548ca3d51fb8b2f6a2d..97344b629eef01299ceae03561d94d167789038f 100644 (file)
@@ -538,7 +538,7 @@ int send_pack(struct send_pack_args *args,
                die(_("the receiving end does not support this repository's hash algorithm"));
 
        if (args->push_cert != SEND_PACK_PUSH_CERT_NEVER) {
-               int len;
+               size_t len;
                push_cert_nonce = server_feature_value("push-cert", &len);
                if (push_cert_nonce) {
                        reject_invalid_nonce(push_cert_nonce, len);