aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-11-20 21:30:58 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-11-20 21:30:58 +0000
commit78cd84da8a0fe5588f5778439cd68d95ab1f446a (patch)
tree5134094c11a4203762df0de13c9f0447d7c33193 /include
parente857122c97b934a00252889a978db69d4e774df7 (diff)
downloadbusybox-78cd84da8a0fe5588f5778439cd68d95ab1f446a.tar.gz
Dont over-read fd, use function pointer for hash function.
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 88f43d01c..22a77e610 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__ */