summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-03 11:52:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:27 -0500
commit48c945034c2f2b8e0eb16f1aed3eb1ae1de43e6b (patch)
treeca15f99911cff6234e569ccd66cc3def502d9e65
parented4913d45d07c754f8d3eb971af5af80c725240a (diff)
downloadsamba-48c945034c2f2b8e0eb16f1aed3eb1ae1de43e6b.tar.gz
samba-48c945034c2f2b8e0eb16f1aed3eb1ae1de43e6b.tar.bz2
samba-48c945034c2f2b8e0eb16f1aed3eb1ae1de43e6b.zip
r9991: Some more 64-bit size_t warnings. There are a few more but they are
too hard to fix right now. (-: (This used to be commit a64b813ff70ccf203e65ddb9d5ee3f5dc3495a15)
-rw-r--r--source4/utils/ndrdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 83013f3fff..119f8078f8 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -285,7 +285,7 @@ static char *stdin_load(TALLOC_CTX *mem_ctx, size_t *size)
v_blob = ndr_push_blob(ndr_v_push);
if (dumpdata) {
- printf("%d bytes generated (validate)\n", v_blob.length);
+ printf("%ld bytes generated (validate)\n", (long)v_blob.length);
dump_data(0, v_blob.data, v_blob.length);
}
@@ -312,7 +312,7 @@ static char *stdin_load(TALLOC_CTX *mem_ctx, size_t *size)
f->ndr_print(ndr_v_print, function, flags, v_st);
if (blob.length != v_blob.length) {
- printf("WARNING! orig bytes:%d validated pushed bytes:%d\n", blob.length, v_blob.length);
+ printf("WARNING! orig bytes:%ld validated pushed bytes:%ld\n", (long)blob.length, (long)v_blob.length);
}
if (ndr_pull->offset != ndr_v_pull->offset) {