diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-09 10:05:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:04 -0500 |
commit | 30ee8beb9316a99e8a49993306252591106cb349 (patch) | |
tree | a00d384bb7e1e9c09a800f4e3de00b2c9450e17b /source4/auth | |
parent | 85e24e54d29ca8a08ad833831052e41a0bb257b6 (diff) | |
download | samba-30ee8beb9316a99e8a49993306252591106cb349.tar.gz samba-30ee8beb9316a99e8a49993306252591106cb349.tar.bz2 samba-30ee8beb9316a99e8a49993306252591106cb349.zip |
r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 4 | ||||
-rw-r--r-- | source4/auth/gensec/socket.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index 3bf14505f5..d9f6edc7d7 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -761,8 +761,8 @@ static NTSTATUS gensec_gssapi_wrap(struct gensec_security *gensec_security, size_t max_wrapped_size = gensec_gssapi_max_wrapped_size(gensec_security); if (max_wrapped_size < out->length) { DEBUG(1, ("gensec_gssapi_wrap: when wrapped, INPUT data (%u) is grew to be larger than SASL negotiated maximum output size (%u > %u)\n", - in->length, - out->length, + (unsigned)in->length, + (unsigned)out->length, (unsigned int)max_wrapped_size)); return NT_STATUS_INVALID_PARAMETER; } diff --git a/source4/auth/gensec/socket.c b/source4/auth/gensec/socket.c index 3567bf801d..cf7b196f9d 100644 --- a/source4/auth/gensec/socket.c +++ b/source4/auth/gensec/socket.c @@ -123,7 +123,7 @@ NTSTATUS gensec_unwrap_packets(struct gensec_security *gensec_security, if (wrapped.length > (in->length - 4)) { DEBUG(0, ("Asked to unwrap packed of bogus length %d > %d! How did we get this?!\n", - wrapped.length, in->length - 4)); + (int)wrapped.length, (int)(in->length - 4))); return NT_STATUS_INTERNAL_ERROR; } |