r8520: fixed a pile of warnings from the build farm gcc -Wall output on
authorAndrew Tridgell <tridge@samba.org>
Sun, 17 Jul 2005 09:20:52 +0000 (09:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:34 +0000 (13:29 -0500)
commita58ea6b3854973b694d2b1e22323ed7eb00e3a3f
treea0e301e7414d1eff9edc2c5567c62e4cc5eb6ccb
parentf93bd0ced6b0b2b4ee3bf15e53ba30138fd6b533
r8520: fixed a pile of warnings from the build farm gcc -Wall output on
S390. This is an attempt to avoid the panic we're seeing in the
automatic builds.

The main fixes are:

 - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats

 - use of NULL format statements to perform dn searches.

 - assumption that sizeof() returns an int
59 files changed:
source/auth/auth.c
source/auth/gensec/gensec_gssapi.c
source/auth/gensec/gensec_krb5.c
source/auth/ntlmssp/ntlmssp_server.c
source/client/client.c
source/dsdb/samdb/samdb.c
source/kdc/hdb-ldb.c
source/kdc/kdc.c
source/ldap_server/ldap_hacked_ldb.c
source/ldap_server/ldap_simple_ldb.c
source/lib/charcnv.c
source/lib/gendb.c
source/lib/ldb/ldb_tdb/ldb_index.c
source/lib/messaging/messaging.c
source/lib/registry/reg_backend_nt4.c
source/lib/util_file.c
source/lib/util_str.c
source/libcli/auth/session.c
source/libcli/cldap/cldap.c
source/libcli/dgram/browse.c
source/libcli/dgram/dgramsocket.c
source/libcli/dgram/netlogon.c
source/libcli/dgram/ntlogon.c
source/libcli/nbt/nbtname.c
source/libcli/nbt/nbtsocket.c
source/libcli/raw/rawfileinfo.c
source/libcli/raw/rawfsinfo.c
source/libcli/raw/rawsearch.c
source/libcli/raw/rawtrans.c
source/libcli/wins/winsrepl.c
source/librpc/ndr/ndr_basic.c
source/librpc/ndr/ndr_compression.c
source/librpc/ndr/ndr_spoolss_buf.c
source/librpc/rpc/dcerpc_smb.c
source/rpc_server/lsa/dcesrv_lsa.c
source/rpc_server/samr/dcesrv_samr.c
source/scripting/ejs/smbcalls_cli.c
source/torture/auth/ntlmssp.c
source/torture/auth/pac.c
source/torture/basic/aliases.c
source/torture/basic/delaywrite.c
source/torture/basic/denytest.c
source/torture/basic/locking.c
source/torture/basic/utable.c
source/torture/ldap/basic.c
source/torture/local/iconv.c
source/torture/local/idtree.c
source/torture/local/socket.c
source/torture/nbt/register.c
source/torture/raw/composite.c
source/torture/raw/context.c
source/torture/raw/qfileinfo.c
source/torture/raw/streams.c
source/torture/rpc/autoidl.c
source/torture/rpc/samsync.c
source/torture/torture.c
source/torture/torture_util.c
source/utils/ndrdump.c
source/web_server/http.c