summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-06-24 13:52:26 +0000
committermux <mux@FreeBSD.org>2002-06-24 13:52:26 +0000
commit19361eefdfe5fdd95aa861cd7e85012fef653176 (patch)
treeb424752b84cb22d5698dd271285c91796a9b0548 /lib/libmd
parent0317135e4df983e0190c48d883284ed936eaa9ed (diff)
downloadFreeBSD-src-19361eefdfe5fdd95aa861cd7e85012fef653176.zip
FreeBSD-src-19361eefdfe5fdd95aa861cd7e85012fef653176.tar.gz
Add missing const's.
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/md5c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmd/md5c.c b/lib/libmd/md5c.c
index d459e71..d25ef6d 100644
--- a/lib/libmd/md5c.c
+++ b/lib/libmd/md5c.c
@@ -77,7 +77,7 @@ static void
Decode (u_int32_t *output, const unsigned char *input, unsigned int len)
{
unsigned int i;
- u_int32_t *ip = (u_int32_t *)input;
+ const u_int32_t *ip = (const u_int32_t *)input;
for (i = 0; i < len / 4; i++)
output[i] = le32toh(ip[i]);
OpenPOWER on IntegriCloud