From f5033a1e625f74c517751bdb13f12f625ad34eb4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 18 Jul 2007 12:28:32 +0000 Subject: r23953: Some C++ warnings (This used to be commit 8716edf157bf8866328f82eb6cf25e71af7fea15) --- source3/libads/sasl_wrapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libads/sasl_wrapping.c') diff --git a/source3/libads/sasl_wrapping.c b/source3/libads/sasl_wrapping.c index 931273f40c..c620aae7ac 100644 --- a/source3/libads/sasl_wrapping.c +++ b/source3/libads/sasl_wrapping.c @@ -213,7 +213,7 @@ static ber_slen_t ads_saslwrap_write(Sockbuf_IO_Desc *sbiod, void *buf, ber_len_ ret = ads_saslwrap_prepare_outbuf(ads, rlen); if (ret < 0) return ret; - status = ads->ldap.wrap_ops->wrap(ads, buf, rlen); + status = ads->ldap.wrap_ops->wrap(ads, (uint8 *)buf, rlen); if (!ADS_ERR_OK(status)) { errno = EACCES; return -1; -- cgit