Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/hash add missing cast.
details: https://anonhg.NetBSD.org/src/rev/1fddf00fb7c8
branches: trunk
changeset: 350349:1fddf00fb7c8
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 17:46:26 2017 +0000
description:
add missing cast.
diffstat:
lib/libc/hash/hmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bd04f4dfae24 -r 1fddf00fb7c8 lib/libc/hash/hmac.c
--- a/lib/libc/hash/hmac.c Tue Jan 10 17:45:58 2017 +0000
+++ b/lib/libc/hash/hmac.c Tue Jan 10 17:46:26 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hmac.c,v 1.3 2016/07/01 22:41:39 christos Exp $ */
+/* $NetBSD: hmac.c,v 1.4 2017/01/10 17:46:26 christos Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: hmac.c,v 1.3 2016/07/01 22:41:39 christos Exp $");
+__RCSID("$NetBSD: hmac.c,v 1.4 2017/01/10 17:46:26 christos Exp $");
#include <string.h>
#include <stdlib.h>
@@ -153,7 +153,7 @@
(*h->final)(p, c);
(*h->init)(c);
- (*h->update)(c, opad, h->blocksize);
+ (*h->update)(c, opad, (unsigned int)h->blocksize);
(*h->update)(c, digest, (unsigned int)h->digsize);
(*h->final)(p, c);
Home |
Main Index |
Thread Index |
Old Index