Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/hash explicitly cast to u_char
details: https://anonhg.NetBSD.org/src/rev/5b718d3af333
branches: trunk
changeset: 494382:5b718d3af333
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 06 02:50:22 2000 +0000
description:
explicitly cast to u_char
diffstat:
lib/libc/hash/rmd160.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f751c9081452 -r 5b718d3af333 lib/libc/hash/rmd160.c
--- a/lib/libc/hash/rmd160.c Thu Jul 06 02:49:41 2000 +0000
+++ b/lib/libc/hash/rmd160.c Thu Jul 06 02:50:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rmd160.c,v 1.2 2000/07/05 13:51:32 ad Exp $ */
+/* $NetBSD: rmd160.c,v 1.3 2000/07/06 02:50:22 christos Exp $ */
/********************************************************************\
*
@@ -20,7 +20,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rmd160.c,v 1.2 2000/07/05 13:51:32 ad Exp $");
+__RCSID("$NetBSD: rmd160.c,v 1.3 2000/07/06 02:50:22 christos Exp $");
#endif /* not lint */
/* header files */
@@ -392,7 +392,7 @@
#endif
/* append the bit m_n == 1 */
- context->bbuffer[context->buflen] = '\200';
+ context->bbuffer[context->buflen] = (u_char)'\200';
(void)memset(context->bbuffer + context->buflen + 1, 0,
63 - context->buflen);
Home |
Main Index |
Thread Index |
Old Index