From 48c945034c2f2b8e0eb16f1aed3eb1ae1de43e6b Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 3 Sep 2005 11:52:42 +0000 Subject: 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) --- source4/utils/ndrdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/utils') 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) { -- cgit