summaryrefslogtreecommitdiffstats
path: root/lib/libmd/mdXhl.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2006-01-17 15:35:57 +0000
committerphk <phk@FreeBSD.org>2006-01-17 15:35:57 +0000
commit7a469c93bd0237caf5ea853e39af9aae0641ee9a (patch)
tree101d4be37f349e17f665a23b1aa8744624569973 /lib/libmd/mdXhl.c
parent0918b5cf25de7142e1ae5fd30873e51040664a87 (diff)
downloadFreeBSD-src-7a469c93bd0237caf5ea853e39af9aae0641ee9a.zip
FreeBSD-src-7a469c93bd0237caf5ea853e39af9aae0641ee9a.tar.gz
Fix an 11 year old mistake: Let the hash functions take a void* instead
of unsigned char* argument.
Diffstat (limited to 'lib/libmd/mdXhl.c')
-rw-r--r--lib/libmd/mdXhl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmd/mdXhl.c b/lib/libmd/mdXhl.c
index fd2589a..e69e5e5 100644
--- a/lib/libmd/mdXhl.c
+++ b/lib/libmd/mdXhl.c
@@ -88,7 +88,7 @@ MDXFileChunk(const char *filename, char *buf, off_t ofs, off_t len)
}
char *
-MDXData (const unsigned char *data, unsigned int len, char *buf)
+MDXData (const void *data, unsigned int len, char *buf)
{
MDX_CTX ctx;
OpenPOWER on IntegriCloud