summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/bufaux.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-25 18:56:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-25 18:56:56 +0000
commit0a1a6dbfc844ab05facdda54ee142f8f3771123c (patch)
treea0bc013e9d2602bd5d7a37d3846a631b055b2cd1 /usr.bin/ssh/bufaux.c
parent276ef60b0dde011be3b608a20c70af69a2154e63 (diff)
remove (char *) casts to a function that accepts void * for the arg
Diffstat (limited to 'usr.bin/ssh/bufaux.c')
-rw-r--r--usr.bin/ssh/bufaux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/bufaux.c b/usr.bin/ssh/bufaux.c
index b7c9f2ecd0d..21a2badf13c 100644
--- a/usr.bin/ssh/bufaux.c
+++ b/usr.bin/ssh/bufaux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bufaux.c,v 1.39 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: bufaux.c,v 1.40 2006/03/25 18:56:54 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -71,7 +71,7 @@ buffer_put_bignum_ret(Buffer *buffer, const BIGNUM *value)
PUT_16BIT(msg, bits);
buffer_append(buffer, msg, 2);
/* Store the binary data. */
- buffer_append(buffer, (char *)buf, oi);
+ buffer_append(buffer, buf, oi);
memset(buf, 0, bin_size);
xfree(buf);