]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/channel.c
New configuration option "OperServerMode".
[ngircd-alex.git] / src / ngircd / channel.c
index 57ca90a39d7a4ec96e581b903b9831a869d94247..c5dde86a99fb3117e1208c9a0a3e5760f826fd5f 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: channel.c,v 1.44 2004/01/17 03:17:49 alex Exp $";
+static char UNUSED id[] = "$Id: channel.c,v 1.45 2004/03/11 22:16:31 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -708,7 +708,7 @@ Channel_Create( CHAR *Name )
 
        assert( Name != NULL );
        
-       c = malloc( sizeof( CHANNEL ));
+       c = (CHANNEL *)malloc( sizeof( CHANNEL ));
        if( ! c )
        {
                Log( LOG_EMERG, "Can't allocate memory! [New_Chan]" );
@@ -760,7 +760,7 @@ Add_Client( CHANNEL *Chan, CLIENT *Client )
        assert( Client != NULL );
 
        /* neue CL2CHAN-Struktur anlegen */
-       cl2chan = malloc( sizeof( CL2CHAN ));
+       cl2chan = (CL2CHAN *)malloc( sizeof( CL2CHAN ));
        if( ! cl2chan )
        {
                Log( LOG_EMERG, "Can't allocate memory! [Add_Client]" );