Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/crypto/ripemd160 add a missing const
details: https://anonhg.NetBSD.org/src/rev/db58a331a61c
branches: trunk
changeset: 581289:db58a331a61c
user: christos <christos%NetBSD.org@localhost>
date: Tue May 31 00:43:56 2005 +0000
description:
add a missing const
diffstat:
sys/crypto/ripemd160/rmd160.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5f439a2559fd -r db58a331a61c sys/crypto/ripemd160/rmd160.c
--- a/sys/crypto/ripemd160/rmd160.c Tue May 31 00:43:17 2005 +0000
+++ b/sys/crypto/ripemd160/rmd160.c Tue May 31 00:43:56 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej Exp $ */
+/* $NetBSD: rmd160.c,v 1.4 2005/05/31 00:43:56 christos Exp $ */
/* $KAME: rmd160.c,v 1.2 2003/07/25 09:37:55 itojun Exp $ */
/* $OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.4 2005/05/31 00:43:56 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -170,7 +170,7 @@
int i;
for (i = 0; i < 16; i++)
- x[i] = le32toh(*(u_int32_t*)(block+i*4));
+ x[i] = le32toh(*(const u_int32_t*)(block+i*4));
#endif
a = state[0];
Home |
Main Index |
Thread Index |
Old Index