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 /src/mcast.c | |
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 'src/mcast.c')
-rw-r--r-- | src/mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcast.c b/src/mcast.c index 8eedd07..3dff855 100644 --- a/src/mcast.c +++ b/src/mcast.c @@ -272,7 +272,7 @@ void mcast_client_destroy(struct mcast_sock *m) free(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 ret; |