Author: jra Date: 2005-12-03 06:46:42 +0000 (Sat, 03 Dec 2005) New Revision: 12042
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12042 Log: It's amazing the warnings you find when compiling on a 64-bit box with gcc4 and -O6... Fix a bunch of C99 dereferencing type-punned pointer will break strict-aliasing rules errors. Also added prs_int32 (not uint32...) as it's needed in one place. Find places where prs_uint32 was being used to marshall/unmarshall a time_t (a big no no on 64-bits). More warning fixes to come. Thanks to Volker for nudging me to compile like this. Jeremy. Modified: trunk/source/lib/charcnv.c trunk/source/lib/crc32.c trunk/source/lib/util_file.c trunk/source/libads/ads_ldap.c trunk/source/libads/ldap.c trunk/source/libsmb/climessage.c trunk/source/libsmb/samlogon_cache.c trunk/source/nmbd/nmbd_namelistdb.c trunk/source/param/loadparm.c trunk/source/passdb/secrets.c trunk/source/rpc_parse/parse_net.c trunk/source/rpc_parse/parse_prs.c trunk/source/rpc_server/srv_eventlog_nt.c trunk/source/rpc_server/srv_lsa_nt.c trunk/source/rpc_server/srv_reg_nt.c trunk/source/rpc_server/srv_samr_nt.c trunk/source/rpc_server/srv_spoolss_nt.c trunk/source/rpc_server/srv_svcctl_nt.c trunk/source/smbd/message.c Changeset: Sorry, the patch is too large (700 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12042