summaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 05:28:50 +0200
committerDamien Miller <djm@mindrot.org>2006-03-26 05:28:50 +0200
commita0fdce9a47dfa572fde97e1a2ee9b33efb9fd549 (patch)
tree39efc92f6b2e6729a839ecc89b41f22a809f08b0 /packet.c
parent - deraadt@cvs.openbsd.org 2006/03/25 18:43:30 (diff)
downloadopenssh-a0fdce9a47dfa572fde97e1a2ee9b33efb9fd549.tar.xz
openssh-a0fdce9a47dfa572fde97e1a2ee9b33efb9fd549.zip
- deraadt@cvs.openbsd.org 2006/03/25 18:56:55
[bufaux.c channels.c packet.c] remove (char *) casts to a function that accepts void * for the arg
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index fceeef666..5eb2c1c9e 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.129 2006/03/25 18:29:35 deraadt Exp $ */
+/* $OpenBSD: packet.c,v 1.130 2006/03/25 18:56:55 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -788,7 +788,7 @@ packet_send2_wrapped(void)
buffer_len(&outgoing_packet));
/* append unencrypted MAC */
if (mac && mac->enabled)
- buffer_append(&output, (char *)macbuf, mac->mac_len);
+ buffer_append(&output, macbuf, mac->mac_len);
#ifdef PACKET_DEBUG
fprintf(stderr, "encrypted: ");
buffer_dump(&output);