samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13619 - in branches/SAMBA_4_0/source/auth/gensec: .

Subject: svn commit: samba r13619 - in branches/SAMBA_4_0/source/auth/gensec: .
From:
Date: Wed, 22 Feb 2006 09:49:08 +0000 GMT
Author: metze
Date: 2006-02-22 09:49:07 +0000 (Wed, 22 Feb 2006)
New Revision: 13619

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13619

Log:
fix compiler warning

metze

Modified:
   branches/SAMBA_4_0/source/auth/gensec/gensec.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/gensec.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/gensec.c      2006-02-22 09:48:35 UTC 
(rev 13618)
+++ branches/SAMBA_4_0/source/auth/gensec/gensec.c      2006-02-22 09:49:07 UTC 
(rev 13619)
@@ -1088,7 +1088,7 @@
                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;
 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13619 - in branches/SAMBA_4_0/source/auth/gensec: ., metze <=