summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2008-06-13 00:51:48 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2008-06-13 00:51:48 +0000
commitd0e6fa3779a2b1bc56e02c129f485180c0d07c9a (patch)
treee9be9ad6398f437952139715181b3629d5f12225
parent31ecc38c16664192df6a04f7e3f1fb94b2065fa0 (diff)
upcast another size_t to u_long to match format
-rw-r--r--usr.bin/ssh/mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/mac.c b/usr.bin/ssh/mac.c
index bc63ebf8877..de6f69512ba 100644
--- a/usr.bin/ssh/mac.c
+++ b/usr.bin/ssh/mac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mac.c,v 1.14 2007/06/07 19:37:34 pvalchev Exp $ */
+/* $OpenBSD: mac.c,v 1.15 2008/06/13 00:51:47 dtucker Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -125,7 +125,7 @@ mac_compute(Mac *mac, u_int32_t seqno, u_char *data, int datalen)
if (mac->mac_len > sizeof(m))
fatal("mac_compute: mac too long %u %lu",
- mac->mac_len, sizeof(m));
+ mac->mac_len, (u_long)sizeof(m));
switch (mac->type) {
case SSH_EVP: