diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 11:25:14 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 11:25:14 +0000 |
commit | d190b5a8e066d2d417ad1fcf416748ae6e14b456 (patch) | |
tree | b428160706d4041f88ead747b2aea69d37b016bb /lib/libcrypto/bio | |
parent | 9072f454e714a7c50c24423c94d84ec5a15d002e (diff) |
delete some casts. ok miod
Diffstat (limited to 'lib/libcrypto/bio')
-rw-r--r-- | lib/libcrypto/bio/bf_buff.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |