From 5f7b504cefa9e61a5fd3d65dd0a1be9e9341af90 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 22 Feb 2006 09:49:07 +0000 Subject: r13619: fix compiler warning metze (This used to be commit 7b284174aa36fdd5d6841dab4934f1f6ecfba4ce) --- source4/auth/gensec/gensec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c index 72c7f96cf6..f1f1c7f83a 100644 --- a/source4/auth/gensec/gensec.c +++ b/source4/auth/gensec/gensec.c @@ -1088,7 +1088,7 @@ NTSTATUS gensec_register(const struct gensec_security_ops *ops) smb_panic("out of memory (or failed to realloc referenced memory) in gensec_register"); } - generic_security_ops[gensec_num_backends] = ops; + generic_security_ops[gensec_num_backends] = discard_const(ops); gensec_num_backends++; generic_security_ops[gensec_num_backends] = NULL; -- cgit