From 5f284bec47971ea25df5461dfb3fbed731c243a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 17 Feb 2013 16:36:25 +0100 Subject: [PATCH] tevent: fix compiler warning in tevent_context_init_byname() Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- lib/tevent/tevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tevent/tevent.c b/lib/tevent/tevent.c index aa758de6403..3b273d6c531 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) { -- 2.11.4.GIT