summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/tiger.c
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/digest/files/tiger.c')
-rw-r--r--pkgtools/digest/files/tiger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/digest/files/tiger.c b/pkgtools/digest/files/tiger.c
index cf781a95ee6..09821f46d2b 100644
--- a/pkgtools/digest/files/tiger.c
+++ b/pkgtools/digest/files/tiger.c
@@ -653,7 +653,7 @@ TIGERInit(tiger_context_t *tp)
}
void
-TIGERUpdate(tiger_context_t *tp, const uint8_t *data, uint32_t len)
+TIGERUpdate(tiger_context_t *tp, const uint8_t *data, size_t len)
{
const uint64_t *str = (const uint64_t *)data;
uint64_t i;
@@ -747,7 +747,7 @@ TIGERFile(char *filename, char *buf)
tiger_context_t ctx;
uint8_t buffer[BUFSIZ];
int fd;
- int num;
+ ssize_t num;
int oerrno;
TIGERInit(&ctx);