diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-03-17 16:36:41 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-03-17 16:36:41 +0100 |
commit | 0d3d11e1bf8b10214f547c2e7b38b4ea9edb6f5f (patch) | |
tree | 40ea5601aaaa06745e52cccf7d212335503b6c4d /include/mcast.h | |
parent | 7d02950e06511a83f80deee96cc79428ba83dd7f (diff) | |
download | conntrack-tools-0d3d11e1bf8b10214f547c2e7b38b4ea9edb6f5f.tar.gz conntrack-tools-0d3d11e1bf8b10214f547c2e7b38b4ea9edb6f5f.zip |
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 <pablo@netfilter.org>
Diffstat (limited to 'include/mcast.h')
-rw-r--r-- | include/mcast.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |