svn commit: samba r9991 - in branches/SAMBA_4_0/source/utils: .
tpot at samba.org
tpot at samba.org
Sat Sep 3 11:52:43 GMT 2005
Author: tpot
Date: 2005-09-03 11:52:42 +0000 (Sat, 03 Sep 2005)
New Revision: 9991
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9991
Log:
Some more 64-bit size_t warnings. There are a few more but they are
too hard to fix right now. (-:
Modified:
branches/SAMBA_4_0/source/utils/ndrdump.c
Changeset:
Modified: branches/SAMBA_4_0/source/utils/ndrdump.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ndrdump.c 2005-09-03 11:50:33 UTC (rev 9990)
+++ branches/SAMBA_4_0/source/utils/ndrdump.c 2005-09-03 11:52:42 UTC (rev 9991)
@@ -285,7 +285,7 @@
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 @@
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) {
More information about the samba-cvs
mailing list