diff options
author | joerg <joerg@pkgsrc.org> | 2007-09-21 18:44:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-09-21 18:44:36 +0000 |
commit | f60512c7851ec6b37fae3fe0c32841646d766467 (patch) | |
tree | e5830d0603a38d2c5444aee5be0a329466e44863 /pkgtools/digest/files/tiger.c | |
parent | 00c4ce12d9a34ad1dc47ab74ef3b44fe87ed5fa4 (diff) | |
download | pkgsrc-f60512c7851ec6b37fae3fe0c32841646d766467.tar.gz |
Fully ANSIfy and use size_t and uint32_t in places where u_int was used
before. This fixes the build on QNX, where u_int is not exposed by the
current set of headers. Make the prototypes of the crypto functions
consistent.
Diffstat (limited to 'pkgtools/digest/files/tiger.c')
-rw-r--r-- | pkgtools/digest/files/tiger.c | 4 |
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); |