From 0d3d11e1bf8b10214f547c2e7b38b4ea9edb6f5f Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 17 Mar 2009 16:36:41 +0100 Subject: mcast: mcast_send() takes a const pointer to buffer This patch removes a compilation warning. The buffer passed to be sent must be const. Signed-off-by: Pablo Neira Ayuso --- include/mcast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mcast.h b/include/mcast.h index 68d18e8..30aefc0 100644 --- a/include/mcast.h +++ b/include/mcast.h @@ -48,7 +48,7 @@ void mcast_server_destroy(struct mcast_sock *m); struct mcast_sock *mcast_client_create(struct mcast_conf *conf); void mcast_client_destroy(struct mcast_sock *m); -ssize_t mcast_send(struct mcast_sock *m, void *data, int size); +ssize_t mcast_send(struct mcast_sock *m, const void *data, int size); ssize_t mcast_recv(struct mcast_sock *m, void *data, int size); int mcast_get_fd(struct mcast_sock *m); -- cgit v1.2.3