1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00

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
This commit is contained in:
Andrew Tridgell
2005-07-17 09:20:52 +00:00
committed by Gerald (Jerry) Carter
parent f93bd0ced6
commit a58ea6b385
59 changed files with 142 additions and 116 deletions

View File

@@ -179,7 +179,7 @@ NTSTATUS sess_decrypt_blob(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, const DAT
if (blob->length < 8) {
DEBUG(0, ("Unexpected length %d in session crypted secret (BLOB)\n",
blob->length));
(int)blob->length));
return NT_STATUS_INVALID_PARAMETER;
}