From 78cd84da8a0fe5588f5778439cd68d95ab1f446a Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Thu, 20 Nov 2003 21:30:58 +0000 Subject: Dont over-read fd, use function pointer for hash function. --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 88f43d0..22a77e6 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -479,7 +479,7 @@ extern void xregcomp(regex_t *preg, const char *regex, int cflags); #define HASH_SHA1 1 #define HASH_MD5 2 -extern int hash_fd(int fd, const off_t size, const uint8_t hash_algo, uint8_t *hashval); +extern int hash_fd(int fd, const size_t size, const uint8_t hash_algo, uint8_t *hashval); #endif /* __LIBCONFIG_H__ */ -- cgit v1.1