Author: obnox Date: 2007-05-15 08:11:53 +0000 (Tue, 15 May 2007) New Revision: 22888
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22888 Log: Add cast to eliminate compiler warning. Modified: branches/SAMBA_3_0_26/source/rpc_server/srv_eventlog_lib.c Changeset: Modified: branches/SAMBA_3_0_26/source/rpc_server/srv_eventlog_lib.c =================================================================== --- branches/SAMBA_3_0_26/source/rpc_server/srv_eventlog_lib.c 2007-05-15 08:01:37 UTC (rev 22887) +++ branches/SAMBA_3_0_26/source/rpc_server/srv_eventlog_lib.c 2007-05-15 08:11:53 UTC (rev 22888) @@ -90,7 +90,7 @@ static int eventlog_tdb_size_fn( TDB_CONTEXT * tdb, TDB_DATA key, TDB_DATA data, void *state ) { - struct trav_size_struct *tsize = state; + struct trav_size_struct *tsize = (struct trav_size_struct *)state; tsize->size += data.dsize; tsize->rec_count++;