=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/bufaux.c,v retrieving revision 1.35.2.2 retrieving revision 1.40 diff -u -r1.35.2.2 -r1.40 --- src/usr.bin/ssh/Attic/bufaux.c 2006/02/03 02:53:44 1.35.2.2 +++ src/usr.bin/ssh/Attic/bufaux.c 2006/03/25 18:56:54 1.40 @@ -1,3 +1,4 @@ +/* $OpenBSD: bufaux.c,v 1.40 2006/03/25 18:56:54 deraadt Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -37,7 +38,6 @@ */ #include "includes.h" -RCSID("$OpenBSD: bufaux.c,v 1.35.2.2 2006/02/03 02:53:44 brad Exp $"); #include #include "bufaux.h" @@ -71,7 +71,7 @@ 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);