From d190b5a8e066d2d417ad1fcf416748ae6e14b456 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 10 Jul 2014 11:25:14 +0000 Subject: delete some casts. ok miod --- lib/libcrypto/bio/bf_buff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libcrypto/bio') diff --git a/lib/libcrypto/bio/bf_buff.c b/lib/libcrypto/bio/bf_buff.c index 5b18edf5081..4aa5d39293f 100644 --- a/lib/libcrypto/bio/bf_buff.c +++ b/lib/libcrypto/bio/bf_buff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bf_buff.c,v 1.18 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: bf_buff.c,v 1.19 2014/07/10 11:25:13 tedu Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -345,7 +345,7 @@ buffer_ctrl(BIO *b, int cmd, long num, void *ptr) } ctx->ibuf_off = 0; ctx->ibuf_len = (int)num; - memcpy(ctx->ibuf, ptr, (int)num); + memcpy(ctx->ibuf, ptr, num); ret = 1; break; case BIO_C_SET_BUFF_SIZE: -- cgit v1.2.3