Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gpg-interface: use size_t for signature buffer size
[gitweb.git]
/
gpg-interface.c
diff --git
a/gpg-interface.c
b/gpg-interface.c
index 08de0daa410bee1beaae3fc5756d01d5c8a1c25d..ac852ad4b9d5582165d1e5874123300067cb28c6 100644
(file)
--- a/
gpg-interface.c
+++ b/
gpg-interface.c
@@
-101,7
+101,7
@@
void print_signature_buffer(const struct signature_check *sigc, unsigned flags)
fputs(output, stderr);
}
-size_t parse_signature(const char *buf,
unsigned long
size)
+size_t parse_signature(const char *buf,
size_t
size)
{
char *eol;
size_t len = 0;