Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ssh Cast arguments so that this file will compil...
details: https://anonhg.NetBSD.org/src/rev/0d8cbd32187e
branches: trunk
changeset: 533212:0d8cbd32187e
user: agc <agc%NetBSD.org@localhost>
date: Mon Jun 24 15:32:58 2002 +0000
description:
Cast arguments so that this file will compile on less forgiving architectures
like arm32.
diffstat:
crypto/dist/ssh/msg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e535e57080c7 -r 0d8cbd32187e crypto/dist/ssh/msg.c
--- a/crypto/dist/ssh/msg.c Mon Jun 24 14:53:16 2002 +0000
+++ b/crypto/dist/ssh/msg.c Mon Jun 24 15:32:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.2 2002/06/24 05:48:31 itojun Exp $ */
+/* $NetBSD: msg.c,v 1.3 2002/06/24 15:32:58 agc Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -37,7 +37,7 @@
u_char buf[5];
u_int mlen = buffer_len(m);
- debug3("msg_send: type %d", type);
+ debug3("msg_send: type %d", (int) type);
PUT_32BIT(buf, mlen + 1);
buf[4] = type; /* 1st byte of payload is mesg-type */
@@ -60,7 +60,7 @@
if (res != sizeof(buf)) {
if (res == 0)
return -1;
- fatal("msg_recv: read: header %d", res);
+ fatal("msg_recv: read: header %d", (int) res);
}
msg_len = GET_32BIT(buf);
if (msg_len > 256 * 1024)
Home |
Main Index |
Thread Index |
Old Index