X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=send-pack.c;h=97344b629eef01299ceae03561d94d167789038f;hb=7ce4c8f752bc0da682acbda6457d6543ad5d0069;hp=f81bbb28d79259f25db58548ca3d51fb8b2f6a2d;hpb=96f4113ac01e3d8e4a26cbc4df18d0af958c1710;p=thirdparty%2Fgit.git diff --git a/send-pack.c b/send-pack.c index f81bbb28d7..97344b629e 100644 --- a/send-pack.c +++ b/send-pack.c @@ -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);