From 0a1a6dbfc844ab05facdda54ee142f8f3771123c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 25 Mar 2006 18:56:56 +0000 Subject: remove (char *) casts to a function that accepts void * for the arg --- usr.bin/ssh/bufaux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/bufaux.c') 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 * Copyright (c) 1995 Tatu Ylonen , 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); -- cgit v1.2.3