diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-25 12:04:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-25 12:04:55 -0700 |
commit | f5b913c9cb52cee019585375546817cfe5c75426 (patch) | |
tree | ac76484a10f69423169e72f4bf9461b3e3ad880f /cache.h | |
parent | a44c9a5e2e6d4108452f2c64dbd11f74a83745af (diff) | |
download | git-f5b913c9cb52cee019585375546817cfe5c75426.tar.gz |
Fix up the types in write_sha1_file
Use "unsigned long" for the size, like we do everywhere else.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -121,7 +121,7 @@ extern int write_sha1_buffer(const unsigned char *sha1, void *buf, unsigned int extern void * map_sha1_file(const unsigned char *sha1, unsigned long *size); extern void * unpack_sha1_file(void *map, unsigned long mapsize, char *type, unsigned long *size); extern void * read_sha1_file(const unsigned char *sha1, char *type, unsigned long *size); -extern int write_sha1_file(char *buf, unsigned len, const char *type, unsigned char *return_sha1); +extern int write_sha1_file(char *buf, unsigned long len, const char *type, unsigned char *return_sha1); extern int check_sha1_signature(unsigned char *sha1, void *buf, unsigned long size, const char *type); |