summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-17 16:36:25 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 11:59:13 -0800
commit5f284bec47971ea25df5461dfb3fbed731c243a8 (patch)
treee54ca9fae50f514f04ba4b66e48607c1d6cc4dd9 /lib
parentdea5115a3d92f1ea91d354849f382a08957c8ba9 (diff)
downloadsamba-5f284bec47971ea25df5461dfb3fbed731c243a8.tar.gz
samba-5f284bec47971ea25df5461dfb3fbed731c243a8.tar.bz2
samba-5f284bec47971ea25df5461dfb3fbed731c243a8.zip
tevent: fix compiler warning in tevent_context_init_byname()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/tevent/tevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c
index aa758de640..3b273d6c53 100644
--- a/lib/tevent/tevent.c
+++ b/lib/tevent/tevent.c
@@ -273,7 +273,7 @@ struct tevent_context *tevent_context_init_ops(TALLOC_CTX *mem_ctx,
struct tevent_context *tevent_context_init_byname(TALLOC_CTX *mem_ctx,
const char *name)
{
- struct tevent_ops *ops;
+ const struct tevent_ops *ops;
ops = tevent_find_ops_byname(name);
if (ops == NULL) {