diff options
author | Michael Adam <obnox@samba.org> | 2008-07-22 11:54:54 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-22 11:54:54 +0200 |
commit | 16a9020029f809707b38d12960db12abbd2ef1be (patch) | |
tree | 9dd1b3304d9a7dcd777a5f297e91f00c6b79f0d5 /source3/librpc/gen_ndr | |
parent | d616e6418db5cad4271bbe5caafdd20581574d49 (diff) | |
download | samba-16a9020029f809707b38d12960db12abbd2ef1be.tar.gz samba-16a9020029f809707b38d12960db12abbd2ef1be.tar.bz2 samba-16a9020029f809707b38d12960db12abbd2ef1be.zip |
re-run make idl after Jelmer's "poperly cast array lengths" pidl change.
(f321240fa91fa19c1131f119c42f64897d220682)
Michael
(This used to be commit 962c2670b10addf81a242d8cb381cc010e036b8e)
Diffstat (limited to 'source3/librpc/gen_ndr')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_dfs.c | 22 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_drsblobs.c | 22 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_drsuapi.c | 72 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_echo.c | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_epmapper.c | 10 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_eventlog.c | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_krb5pac.c | 4 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_lsa.c | 40 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_messaging.c | 4 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_nbt.c | 18 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_netlogon.c | 50 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_notify.c | 4 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_ntsvcs.c | 2 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_samr.c | 24 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_security.c | 4 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_srvsvc.c | 56 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_winreg.c | 4 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_wkssvc.c | 18 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_xattr.c | 2 |
20 files changed, 181 insertions, 181 deletions
diff --git a/source3/librpc/gen_ndr/ndr_dfs.c b/source3/librpc/gen_ndr/ndr_dfs.c index 4ac0096424..de3ac48c00 100644 --- a/source3/librpc/gen_ndr/ndr_dfs.c +++ b/source3/librpc/gen_ndr/ndr_dfs.c @@ -503,7 +503,7 @@ _PUBLIC_ void ndr_print_dfs_Info3(struct ndr_print *ndr, const char *name, const ndr_print_ptr(ndr, "stores", r->stores); ndr->depth++; if (r->stores) { - ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores); + ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); ndr->depth++; for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { char *idx_1=NULL; @@ -666,7 +666,7 @@ _PUBLIC_ void ndr_print_dfs_Info4(struct ndr_print *ndr, const char *name, const ndr_print_ptr(ndr, "stores", r->stores); ndr->depth++; if (r->stores) { - ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores); + ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); ndr->depth++; for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { char *idx_1=NULL; @@ -1074,7 +1074,7 @@ _PUBLIC_ void ndr_print_dfs_Info6(struct ndr_print *ndr, const char *name, const ndr_print_ptr(ndr, "stores", r->stores); ndr->depth++; if (r->stores) { - ndr->print(ndr, "%s: ARRAY(%d)", "stores", r->num_stores); + ndr->print(ndr, "%s: ARRAY(%d)", "stores", (int)r->num_stores); ndr->depth++; for (cntr_stores_1=0;cntr_stores_1<r->num_stores;cntr_stores_1++) { char *idx_1=NULL; @@ -2265,7 +2265,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray1(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2351,7 +2351,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray2(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2437,7 +2437,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray3(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2523,7 +2523,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray4(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2609,7 +2609,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray5(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2695,7 +2695,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray6(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2781,7 +2781,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray200(struct ndr_print *ndr, const char *name ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; @@ -2867,7 +2867,7 @@ _PUBLIC_ void ndr_print_dfs_EnumArray300(struct ndr_print *ndr, const char *name ndr_print_ptr(ndr, "s", r->s); ndr->depth++; if (r->s) { - ndr->print(ndr, "%s: ARRAY(%d)", "s", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "s", (int)r->count); ndr->depth++; for (cntr_s_1=0;cntr_s_1<r->count;cntr_s_1++) { char *idx_1=NULL; diff --git a/source3/librpc/gen_ndr/ndr_drsblobs.c b/source3/librpc/gen_ndr/ndr_drsblobs.c index f1ed6867bc..1c86a2660b 100644 --- a/source3/librpc/gen_ndr/ndr_drsblobs.c +++ b/source3/librpc/gen_ndr/ndr_drsblobs.c @@ -94,7 +94,7 @@ _PUBLIC_ void ndr_print_replPropertyMetaDataCtr1(struct ndr_print *ndr, const ch ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -257,7 +257,7 @@ _PUBLIC_ void ndr_print_replUpToDateVectorCtr1(struct ndr_print *ndr, const char ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "cursors", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "cursors", (int)r->count); ndr->depth++; for (cntr_cursors_0=0;cntr_cursors_0<r->count;cntr_cursors_0++) { char *idx_0=NULL; @@ -314,7 +314,7 @@ _PUBLIC_ void ndr_print_replUpToDateVectorCtr2(struct ndr_print *ndr, const char ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "cursors", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "cursors", (int)r->count); ndr->depth++; for (cntr_cursors_0=0;cntr_cursors_0<r->count;cntr_cursors_0++) { char *idx_0=NULL; @@ -757,7 +757,7 @@ _PUBLIC_ void ndr_print_partialAttributeSetCtr1(struct ndr_print *ndr, const cha ndr_print_struct(ndr, name, "partialAttributeSetCtr1"); ndr->depth++; ndr_print_uint32(ndr, "count", r->count); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -1280,7 +1280,7 @@ _PUBLIC_ void ndr_print_supplementalCredentialsSubBlob(struct ndr_print *ndr, co ndr->depth++; ndr_print_string(ndr, "prefix", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?SUPPLEMENTAL_CREDENTIALS_PREFIX:r->prefix); ndr_print_uint16(ndr, "num_packages", r->num_packages); - ndr->print(ndr, "%s: ARRAY(%d)", "packages", r->num_packages); + ndr->print(ndr, "%s: ARRAY(%d)", "packages", (int)r->num_packages); ndr->depth++; for (cntr_packages_0=0;cntr_packages_0<r->num_packages;cntr_packages_0++) { char *idx_0=NULL; @@ -1697,7 +1697,7 @@ _PUBLIC_ void ndr_print_package_PrimaryKerberosCtr3(struct ndr_print *ndr, const ndr_print_package_PrimaryKerberosString(ndr, "salt", &r->salt); ndr_print_uint32(ndr, "unknown1", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->unknown1); ndr_print_uint32(ndr, "unknown2", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->unknown2); - ndr->print(ndr, "%s: ARRAY(%d)", "keys", r->num_keys); + ndr->print(ndr, "%s: ARRAY(%d)", "keys", (int)r->num_keys); ndr->depth++; for (cntr_keys_0=0;cntr_keys_0<r->num_keys;cntr_keys_0++) { char *idx_0=NULL; @@ -1707,7 +1707,7 @@ _PUBLIC_ void ndr_print_package_PrimaryKerberosCtr3(struct ndr_print *ndr, const } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "old_keys", r->num_old_keys); + ndr->print(ndr, "%s: ARRAY(%d)", "old_keys", (int)r->num_old_keys); ndr->depth++; for (cntr_old_keys_0=0;cntr_old_keys_0<r->num_old_keys;cntr_old_keys_0++) { char *idx_0=NULL; @@ -1717,7 +1717,7 @@ _PUBLIC_ void ndr_print_package_PrimaryKerberosCtr3(struct ndr_print *ndr, const } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "unknown3", r->num_keys); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown3", (int)r->num_keys); ndr->depth++; for (cntr_unknown3_0=0;cntr_unknown3_0<r->num_keys;cntr_unknown3_0++) { char *idx_0=NULL; @@ -1727,7 +1727,7 @@ _PUBLIC_ void ndr_print_package_PrimaryKerberosCtr3(struct ndr_print *ndr, const } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "unknown3_old", r->num_old_keys); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown3_old", (int)r->num_old_keys); ndr->depth++; for (cntr_unknown3_old_0=0;cntr_unknown3_old_0<r->num_old_keys;cntr_unknown3_old_0++) { char *idx_0=NULL; @@ -1985,7 +1985,7 @@ _PUBLIC_ void ndr_print_package_PrimaryWDigestBlob(struct ndr_print *ndr, const ndr_print_uint8(ndr, "num_hashes", r->num_hashes); ndr_print_uint32(ndr, "unknown3", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->unknown3); ndr_print_udlong(ndr, "uuknown4", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->uuknown4); - ndr->print(ndr, "%s: ARRAY(%d)", "hashes", r->num_hashes); + ndr->print(ndr, "%s: ARRAY(%d)", "hashes", (int)r->num_hashes); ndr->depth++; for (cntr_hashes_0=0;cntr_hashes_0<r->num_hashes;cntr_hashes_0++) { char *idx_0=NULL; @@ -2533,7 +2533,7 @@ _PUBLIC_ void ndr_print_DsCompressedBlob(struct ndr_print *ndr, const char *name uint32_t cntr_chunks_0; ndr_print_struct(ndr, name, "DsCompressedBlob"); ndr->depth++; - ndr->print(ndr, "%s: ARRAY(%d)", "chunks", 5); + ndr->print(ndr, "%s: ARRAY(%d)", "chunks", (int)5); ndr->depth++; for (cntr_chunks_0=0;cntr_chunks_0<5;cntr_chunks_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_drsuapi.c b/source3/librpc/gen_ndr/ndr_drsuapi.c index 105ed84b4e..0c7fb6baca 100644 --- a/source3/librpc/gen_ndr/ndr_drsuapi.c +++ b/source3/librpc/gen_ndr/ndr_drsuapi.c @@ -744,7 +744,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaCursorCtrEx(struct ndr_print *ndr, cons ndr_print_uint32(ndr, "reserved1", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->reserved1); ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved2", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->reserved2); - ndr->print(ndr, "%s: ARRAY(%d)", "cursors", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "cursors", (int)r->count); ndr->depth++; for (cntr_cursors_0=0;cntr_cursors_0<r->count;cntr_cursors_0++) { char *idx_0=NULL; @@ -1113,7 +1113,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaOIDMapping_Ctr(struct ndr_print *ndr, c ndr_print_ptr(ndr, "mappings", r->mappings); ndr->depth++; if (r->mappings) { - ndr->print(ndr, "%s: ARRAY(%d)", "mappings", r->num_mappings); + ndr->print(ndr, "%s: ARRAY(%d)", "mappings", (int)r->num_mappings); ndr->depth++; for (cntr_mappings_1=0;cntr_mappings_1<r->num_mappings;cntr_mappings_1++) { char *idx_1=NULL; @@ -1282,7 +1282,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsPartialAttributeSet(struct ndr_print *ndr, con ndr_print_uint32(ndr, "version", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?1:r->version); ndr_print_uint32(ndr, "reserved1", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->reserved1); ndr_print_uint32(ndr, "num_attids", r->num_attids); - ndr->print(ndr, "%s: ARRAY(%d)", "attids", r->num_attids); + ndr->print(ndr, "%s: ARRAY(%d)", "attids", (int)r->num_attids); ndr->depth++; for (cntr_attids_0=0;cntr_attids_0<r->num_attids;cntr_attids_0++) { char *idx_0=NULL; @@ -1633,7 +1633,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaCursor2CtrEx(struct ndr_print *ndr, con ndr_print_uint32(ndr, "reserved1", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->reserved1); ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved2", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?0:r->reserved2); - ndr->print(ndr, "%s: ARRAY(%d)", "cursors", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "cursors", (int)r->count); ndr->depth++; for (cntr_cursors_0=0;cntr_cursors_0<r->count;cntr_cursors_0++) { char *idx_0=NULL; @@ -1777,7 +1777,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsAttributeValueCtr(struct ndr_print *ndr, const ndr_print_ptr(ndr, "values", r->values); ndr->depth++; if (r->values) { - ndr->print(ndr, "%s: ARRAY(%d)", "values", r->num_values); + ndr->print(ndr, "%s: ARRAY(%d)", "values", (int)r->num_values); ndr->depth++; for (cntr_values_1=0;cntr_values_1<r->num_values;cntr_values_1++) { char *idx_1=NULL; @@ -2021,7 +2021,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaAttributeCtr(struct ndr_print *ndr, con ndr_print_ptr(ndr, "attributes", r->attributes); ndr->depth++; if (r->attributes) { - ndr->print(ndr, "%s: ARRAY(%d)", "attributes", r->num_attributes); + ndr->print(ndr, "%s: ARRAY(%d)", "attributes", (int)r->num_attributes); ndr->depth++; for (cntr_attributes_1=0;cntr_attributes_1<r->num_attributes;cntr_attributes_1++) { char *idx_1=NULL; @@ -2207,7 +2207,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaMetaDataCtr(struct ndr_print *ndr, cons ndr_print_struct(ndr, name, "drsuapi_DsReplicaMetaDataCtr"); ndr->depth++; ndr_print_uint32(ndr, "count", r->count); - ndr->print(ndr, "%s: ARRAY(%d)", "meta_data", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "meta_data", (int)r->count); ndr->depth++; for (cntr_meta_data_0=0;cntr_meta_data_0<r->count;cntr_meta_data_0++) { char *idx_0=NULL; @@ -2706,7 +2706,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetNCChangesCtr6(struct ndr_print *ndr, const ndr_print_ptr(ndr, "linked_attributes", r->linked_attributes); ndr->depth++; if (r->linked_attributes) { - ndr->print(ndr, "%s: ARRAY(%d)", "linked_attributes", r->linked_attributes_count); + ndr->print(ndr, "%s: ARRAY(%d)", "linked_attributes", (int)r->linked_attributes_count); ndr->depth++; for (cntr_linked_attributes_1=0;cntr_linked_attributes_1<r->linked_attributes_count;cntr_linked_attributes_1++) { char *idx_1=NULL; @@ -3886,7 +3886,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetMembershipsCtr1(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "info_array", r->info_array); ndr->depth++; if (r->info_array) { - ndr->print(ndr, "%s: ARRAY(%d)", "info_array", r->num_memberships); + ndr->print(ndr, "%s: ARRAY(%d)", "info_array", (int)r->num_memberships); ndr->depth++; for (cntr_info_array_1=0;cntr_info_array_1<r->num_memberships;cntr_info_array_1++) { char *idx_1=NULL; @@ -3906,7 +3906,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetMembershipsCtr1(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "group_attrs", r->group_attrs); ndr->depth++; if (r->group_attrs) { - ndr->print(ndr, "%s: ARRAY(%d)", "group_attrs", r->num_memberships); + ndr->print(ndr, "%s: ARRAY(%d)", "group_attrs", (int)r->num_memberships); ndr->depth++; for (cntr_group_attrs_1=0;cntr_group_attrs_1<r->num_memberships;cntr_group_attrs_1++) { char *idx_1=NULL; @@ -3921,7 +3921,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetMembershipsCtr1(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->num_sids); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->num_sids;cntr_sids_1++) { char *idx_1=NULL; @@ -4125,7 +4125,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetMembershipsRequest1(struct ndr_print *ndr, ndr_print_ptr(ndr, "info_array", r->info_array); ndr->depth++; if (r->info_array) { - ndr->print(ndr, "%s: ARRAY(%d)", "info_array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "info_array", (int)r->count); ndr->depth++; for (cntr_info_array_1=0;cntr_info_array_1<r->count;cntr_info_array_1++) { char *idx_1=NULL; @@ -4809,7 +4809,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsNameRequest1(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "names", r->names); ndr->depth++; if (r->names) { - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); ndr->depth++; for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { char *idx_1=NULL; @@ -5066,7 +5066,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsNameCtr1(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5314,7 +5314,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsWriteAccountSpnRequest1(struct ndr_print *ndr, ndr_print_ptr(ndr, "spn_names", r->spn_names); ndr->depth++; if (r->spn_names) { - ndr->print(ndr, "%s: ARRAY(%d)", "spn_names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "spn_names", (int)r->count); ndr->depth++; for (cntr_spn_names_1=0;cntr_spn_names_1<r->count;cntr_spn_names_1++) { char *idx_1=NULL; @@ -6191,7 +6191,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetDCInfoCtr1(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -6559,7 +6559,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetDCInfoCtr2(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -6930,7 +6930,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetDCInfoCtr3(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -7107,7 +7107,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetDCConnectionCtr01(struct ndr_print *ndr, co ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -8085,7 +8085,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsAddEntryCtr2(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "objects", r->objects); ndr->depth++; if (r->objects) { - ndr->print(ndr, "%s: ARRAY(%d)", "objects", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "objects", (int)r->count); ndr->depth++; for (cntr_objects_1=0;cntr_objects_1<r->count;cntr_objects_1++) { char *idx_1=NULL; @@ -8228,7 +8228,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsAddEntryCtr3(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "objects", r->objects); ndr->depth++; if (r->objects) { - ndr->print(ndr, "%s: ARRAY(%d)", "objects", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "objects", (int)r->count); ndr->depth++; for (cntr_objects_1=0;cntr_objects_1<r->count;cntr_objects_1++) { char *idx_1=NULL; @@ -8953,7 +8953,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaNeighbourCtr(struct ndr_print *ndr, con ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9015,7 +9015,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaCursorCtr(struct ndr_print *ndr, const ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9161,7 +9161,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaObjMetaDataCtr(struct ndr_print *ndr, c ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9304,7 +9304,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaKccDsaFailuresCtr(struct ndr_print *ndr ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9706,7 +9706,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaOpCtr(struct ndr_print *ndr, const char ndr->depth++; ndr_print_NTTIME(ndr, "time", r->time); ndr_print_uint32(ndr, "count", r->count); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9918,7 +9918,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaAttrValMetaDataCtr(struct ndr_print *nd ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_int32(ndr, "enumeration_context", r->enumeration_context); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -9980,7 +9980,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaCursor2Ctr(struct ndr_print *ndr, const ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_int32(ndr, "enumeration_context", r->enumeration_context); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -10120,7 +10120,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaCursor3Ctr(struct ndr_print *ndr, const ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_int32(ndr, "enumeration_context", r->enumeration_context); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -10299,7 +10299,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaObjMetaData2Ctr(struct ndr_print *ndr, ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_int32(ndr, "enumeration_context", r->enumeration_context); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -10544,7 +10544,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaAttrValMetaData2Ctr(struct ndr_print *n ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_int32(ndr, "enumeration_context", r->enumeration_context); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -10667,7 +10667,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaConnection04Ctr(struct ndr_print *ndr, ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -10822,7 +10822,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplica06Ctr(struct ndr_print *ndr, const char ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "reserved", r->reserved); - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_0=0;cntr_array_0<r->count;cntr_array_0++) { char *idx_0=NULL; @@ -11637,7 +11637,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsGetMemberships2Request1(struct ndr_print *ndr, ndr_print_ptr(ndr, "req_array", r->req_array); ndr->depth++; if (r->req_array) { - ndr->print(ndr, "%s: ARRAY(%d)", "req_array", r->num_req); + ndr->print(ndr, "%s: ARRAY(%d)", "req_array", (int)r->num_req); ndr->depth++; for (cntr_req_array_1=0;cntr_req_array_1<r->num_req;cntr_req_array_1++) { char *idx_1=NULL; @@ -11835,7 +11835,7 @@ _PUBLIC_ void ndr_print_drsuapi_QuerySitesByCostCtr1(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "info", r->info); ndr->depth++; if (r->info) { - ndr->print(ndr, "%s: ARRAY(%d)", "info", r->num_info); + ndr->print(ndr, "%s: ARRAY(%d)", "info", (int)r->num_info); ndr->depth++; for (cntr_info_1=0;cntr_info_1<r->num_info;cntr_info_1++) { char *idx_1=NULL; @@ -12057,7 +12057,7 @@ _PUBLIC_ void ndr_print_drsuapi_QuerySitesByCostRequest1(struct ndr_print *ndr, ndr_print_ptr(ndr, "site_to", r->site_to); ndr->depth++; if (r->site_to) { - ndr->print(ndr, "%s: ARRAY(%d)", "site_to", r->num_req); + ndr->print(ndr, "%s: ARRAY(%d)", "site_to", (int)r->num_req); ndr->depth++; for (cntr_site_to_1=0;cntr_site_to_1<r->num_req;cntr_site_to_1++) { char *idx_1=NULL; diff --git a/source3/librpc/gen_ndr/ndr_echo.c b/source3/librpc/gen_ndr/ndr_echo.c index 83b5fa1a50..93a8464c7b 100644 --- a/source3/librpc/gen_ndr/ndr_echo.c +++ b/source3/librpc/gen_ndr/ndr_echo.c @@ -623,7 +623,7 @@ _PUBLIC_ void ndr_print_echo_Surrounding(struct ndr_print *ndr, const char *name ndr_print_struct(ndr, name, "echo_Surrounding"); ndr->depth++; ndr_print_uint32(ndr, "x", r->x); - ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", r->x); + ndr->print(ndr, "%s: ARRAY(%d)", "surrounding", (int)r->x); ndr->depth++; for (cntr_surrounding_0=0;cntr_surrounding_0<r->x;cntr_surrounding_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_epmapper.c b/source3/librpc/gen_ndr/ndr_epmapper.c index ba2f7bd9c5..ab84d289cf 100644 --- a/source3/librpc/gen_ndr/ndr_epmapper.c +++ b/source3/librpc/gen_ndr/ndr_epmapper.c @@ -1562,7 +1562,7 @@ _PUBLIC_ void ndr_print_epm_tower(struct ndr_print *ndr, const char *name, const ndr_set_flags(&ndr->flags, LIBNDR_FLAG_NOALIGN|LIBNDR_FLAG_LITTLE_ENDIAN); ndr->depth++; ndr_print_uint16(ndr, "num_floors", r->num_floors); - ndr->print(ndr, "%s: ARRAY(%d)", "floors", r->num_floors); + ndr->print(ndr, "%s: ARRAY(%d)", "floors", (int)r->num_floors); ndr->depth++; for (cntr_floors_0=0;cntr_floors_0<r->num_floors;cntr_floors_0++) { char *idx_0=NULL; @@ -1844,7 +1844,7 @@ _PUBLIC_ void ndr_print_epm_Insert(struct ndr_print *ndr, const char *name, int ndr_print_struct(ndr, "in", "epm_Insert"); ndr->depth++; ndr_print_uint32(ndr, "num_ents", r->in.num_ents); - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->in.num_ents); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->in.num_ents); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<r->in.num_ents;cntr_entries_0++) { char *idx_0=NULL; @@ -1924,7 +1924,7 @@ _PUBLIC_ void ndr_print_epm_Delete(struct ndr_print *ndr, const char *name, int ndr_print_struct(ndr, "in", "epm_Delete"); ndr->depth++; ndr_print_uint32(ndr, "num_ents", r->in.num_ents); - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->in.num_ents); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->in.num_ents); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<r->in.num_ents;cntr_entries_0++) { char *idx_0=NULL; @@ -2124,7 +2124,7 @@ _PUBLIC_ void ndr_print_epm_Lookup(struct ndr_print *ndr, const char *name, int ndr->depth++; ndr_print_uint32(ndr, "num_ents", *r->out.num_ents); ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "entries", *r->out.num_ents); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)*r->out.num_ents); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<*r->out.num_ents;cntr_entries_0++) { char *idx_0=NULL; @@ -2313,7 +2313,7 @@ _PUBLIC_ void ndr_print_epm_Map(struct ndr_print *ndr, const char *name, int fla ndr->depth++; ndr_print_uint32(ndr, "num_towers", *r->out.num_towers); ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "towers", *r->out.num_towers); + ndr->print(ndr, "%s: ARRAY(%d)", "towers", (int)*r->out.num_towers); ndr->depth++; for (cntr_towers_0=0;cntr_towers_0<*r->out.num_towers;cntr_towers_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_eventlog.c b/source3/librpc/gen_ndr/ndr_eventlog.c index c5461d99ab..2eb26c4bc4 100644 --- a/source3/librpc/gen_ndr/ndr_eventlog.c +++ b/source3/librpc/gen_ndr/ndr_eventlog.c @@ -172,7 +172,7 @@ _PUBLIC_ void ndr_print_eventlog_Record(struct ndr_print *ndr, const char *name, ndr_print_uint32(ndr, "data_offset", r->data_offset); ndr_print_string(ndr, "source_name", r->source_name); ndr_print_string(ndr, "computer_name", r->computer_name); - ndr->print(ndr, "%s: ARRAY(%d)", "strings", r->num_of_strings); + ndr->print(ndr, "%s: ARRAY(%d)", "strings", (int)r->num_of_strings); ndr->depth++; for (cntr_strings_0=0;cntr_strings_0<r->num_of_strings;cntr_strings_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_krb5pac.c b/source3/librpc/gen_ndr/ndr_krb5pac.c index ef596e45e3..70d63aee91 100644 --- a/source3/librpc/gen_ndr/ndr_krb5pac.c +++ b/source3/librpc/gen_ndr/ndr_krb5pac.c @@ -507,7 +507,7 @@ _PUBLIC_ void ndr_print_PAC_DATA(struct ndr_print *ndr, const char *name, const ndr->depth++; ndr_print_uint32(ndr, "num_buffers", r->num_buffers); ndr_print_uint32(ndr, "version", r->version); - ndr->print(ndr, "%s: ARRAY(%d)", "buffers", r->num_buffers); + ndr->print(ndr, "%s: ARRAY(%d)", "buffers", (int)r->num_buffers); ndr->depth++; for (cntr_buffers_0=0;cntr_buffers_0<r->num_buffers;cntr_buffers_0++) { char *idx_0=NULL; @@ -669,7 +669,7 @@ _PUBLIC_ void ndr_print_PAC_DATA_RAW(struct ndr_print *ndr, const char *name, co ndr->depth++; ndr_print_uint32(ndr, "num_buffers", r->num_buffers); ndr_print_uint32(ndr, "version", r->version); - ndr->print(ndr, "%s: ARRAY(%d)", "buffers", r->num_buffers); + ndr->print(ndr, "%s: ARRAY(%d)", "buffers", (int)r->num_buffers); ndr->depth++; for (cntr_buffers_0=0;cntr_buffers_0<r->num_buffers;cntr_buffers_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 7332cd3fd2..f84fbe4858 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -74,7 +74,7 @@ _PUBLIC_ void ndr_print_domsid(struct ndr_print *ndr, const char *name, const st ndr_print_uint8(ndr, "sid_rev_num", r->sid_rev_num); ndr_print_uint8(ndr, "num_auths", r->num_auths); ndr_print_array_uint8(ndr, "id_auth", r->id_auth, 6); - ndr->print(ndr, "%s: ARRAY(%d)", "sub_auths", MAXSUBAUTHS); + ndr->print(ndr, "%s: ARRAY(%d)", "sub_auths", (int)MAXSUBAUTHS); ndr->depth++; for (cntr_sub_auths_0=0;cntr_sub_auths_0<MAXSUBAUTHS;cntr_sub_auths_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_lsa.c b/source3/librpc/gen_ndr/ndr_lsa.c index c7d428b1b9..f25410ad27 100644 --- a/source3/librpc/gen_ndr/ndr_lsa.c +++ b/source3/librpc/gen_ndr/ndr_lsa.c @@ -217,7 +217,7 @@ _PUBLIC_ void ndr_print_lsa_Strings(struct ndr_print *ndr, const char *name, con ndr_print_ptr(ndr, "names", r->names); ndr->depth++; if (r->names) { - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); ndr->depth++; for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { char *idx_1=NULL; @@ -451,7 +451,7 @@ _PUBLIC_ void ndr_print_lsa_BinaryString(struct ndr_print *ndr, const char *name ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->length / 2); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->length / 2); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->length / 2;cntr_array_1++) { char *idx_1=NULL; @@ -605,7 +605,7 @@ _PUBLIC_ void ndr_print_lsa_PrivArray(struct ndr_print *ndr, const char *name, c ndr_print_ptr(ndr, "privs", r->privs); ndr->depth++; if (r->privs) { - ndr->print(ndr, "%s: ARRAY(%d)", "privs", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "privs", (int)r->count); ndr->depth++; for (cntr_privs_1=0;cntr_privs_1<r->count;cntr_privs_1++) { char *idx_1=NULL; @@ -973,7 +973,7 @@ _PUBLIC_ void ndr_print_lsa_AuditEventsInfo(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "settings", r->settings); ndr->depth++; if (r->settings) { - ndr->print(ndr, "%s: ARRAY(%d)", "settings", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "settings", (int)r->count); ndr->depth++; for (cntr_settings_1=0;cntr_settings_1<r->count;cntr_settings_1++) { char *idx_1=NULL; @@ -1805,7 +1805,7 @@ _PUBLIC_ void ndr_print_lsa_SidArray(struct ndr_print *ndr, const char *name, co ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->num_sids); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->num_sids;cntr_sids_1++) { char *idx_1=NULL; @@ -1891,7 +1891,7 @@ _PUBLIC_ void ndr_print_lsa_DomainList(struct ndr_print *ndr, const char *name, ndr_print_ptr(ndr, "domains", r->domains); ndr->depth++; if (r->domains) { - ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); ndr->depth++; for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { char *idx_1=NULL; @@ -2043,7 +2043,7 @@ _PUBLIC_ void ndr_print_lsa_TransSidArray(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { char *idx_1=NULL; @@ -2134,7 +2134,7 @@ _PUBLIC_ void ndr_print_lsa_RefDomainList(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "domains", r->domains); ndr->depth++; if (r->domains) { - ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); ndr->depth++; for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { char *idx_1=NULL; @@ -2291,7 +2291,7 @@ _PUBLIC_ void ndr_print_lsa_TransNameArray(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "names", r->names); ndr->depth++; if (r->names) { - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); ndr->depth++; for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { char *idx_1=NULL; @@ -2391,7 +2391,7 @@ _PUBLIC_ void ndr_print_lsa_PrivilegeSet(struct ndr_print *ndr, const char *name ndr->depth++; ndr_print_uint32(ndr, "count", r->count); ndr_print_uint32(ndr, "unknown", r->unknown); - ndr->print(ndr, "%s: ARRAY(%d)", "set", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "set", (int)r->count); ndr->depth++; for (cntr_set_0=0;cntr_set_0<r->count;cntr_set_0++) { char *idx_0=NULL; @@ -3512,7 +3512,7 @@ _PUBLIC_ void ndr_print_lsa_RightSet(struct ndr_print *ndr, const char *name, co ndr_print_ptr(ndr, "names", r->names); ndr->depth++; if (r->names) { - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); ndr->depth++; for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { char *idx_1=NULL; @@ -3598,7 +3598,7 @@ _PUBLIC_ void ndr_print_lsa_DomainListEx(struct ndr_print *ndr, const char *name ndr_print_ptr(ndr, "domains", r->domains); ndr->depth++; if (r->domains) { - ndr->print(ndr, "%s: ARRAY(%d)", "domains", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "domains", (int)r->count); ndr->depth++; for (cntr_domains_1=0;cntr_domains_1<r->count;cntr_domains_1++) { char *idx_1=NULL; @@ -3926,7 +3926,7 @@ _PUBLIC_ void ndr_print_lsa_TransNameArray2(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "names", r->names); ndr->depth++; if (r->names) { - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->count); ndr->depth++; for (cntr_names_1=0;cntr_names_1<r->count;cntr_names_1++) { char *idx_1=NULL; @@ -4048,7 +4048,7 @@ _PUBLIC_ void ndr_print_lsa_TransSidArray2(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { char *idx_1=NULL; @@ -4197,7 +4197,7 @@ _PUBLIC_ void ndr_print_lsa_TransSidArray3(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->count); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->count;cntr_sids_1++) { char *idx_1=NULL; @@ -4619,7 +4619,7 @@ _PUBLIC_ void ndr_print_lsa_ForestTrustInformation(struct ndr_print *ndr, const ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -6013,7 +6013,7 @@ _PUBLIC_ void ndr_print_lsa_LookupNames(struct ndr_print *ndr, const char *name, ndr_print_policy_handle(ndr, "handle", r->in.handle); ndr->depth--; ndr_print_uint32(ndr, "num_names", r->in.num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { char *idx_0=NULL; @@ -10319,7 +10319,7 @@ _PUBLIC_ void ndr_print_lsa_LookupNames2(struct ndr_print *ndr, const char *name ndr_print_policy_handle(ndr, "handle", r->in.handle); ndr->depth--; ndr_print_uint32(ndr, "num_names", r->in.num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { char *idx_0=NULL; @@ -10902,7 +10902,7 @@ _PUBLIC_ void ndr_print_lsa_LookupNames3(struct ndr_print *ndr, const char *name ndr_print_policy_handle(ndr, "handle", r->in.handle); ndr->depth--; ndr_print_uint32(ndr, "num_names", r->in.num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { char *idx_0=NULL; @@ -11636,7 +11636,7 @@ _PUBLIC_ void ndr_print_lsa_LookupNames4(struct ndr_print *ndr, const char *name ndr_print_struct(ndr, "in", "lsa_LookupNames4"); ndr->depth++; ndr_print_uint32(ndr, "num_names", r->in.num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_messaging.c b/source3/librpc/gen_ndr/ndr_messaging.c index 60cab9ae89..6251c18ba3 100644 --- a/source3/librpc/gen_ndr/ndr_messaging.c +++ b/source3/librpc/gen_ndr/ndr_messaging.c @@ -99,7 +99,7 @@ _PUBLIC_ void ndr_print_messaging_array(struct ndr_print *ndr, const char *name, ndr_print_struct(ndr, name, "messaging_array"); ndr->depth++; ndr_print_uint32(ndr, "num_messages", r->num_messages); - ndr->print(ndr, "%s: ARRAY(%d)", "messages", r->num_messages); + ndr->print(ndr, "%s: ARRAY(%d)", "messages", (int)r->num_messages); ndr->depth++; for (cntr_messages_0=0;cntr_messages_0<r->num_messages;cntr_messages_0++) { char *idx_0=NULL; @@ -180,7 +180,7 @@ _PUBLIC_ void ndr_print_dbwrap_tdb2_changes(struct ndr_print *ndr, const char *n ndr_print_uint32(ndr, "new_seqnum", r->new_seqnum); ndr_print_uint32(ndr, "num_changes", r->num_changes); ndr_print_uint32(ndr, "num_keys", r->num_keys); - ndr->print(ndr, "%s: ARRAY(%d)", "keys", r->num_keys); + ndr->print(ndr, "%s: ARRAY(%d)", "keys", (int)r->num_keys); ndr->depth++; for (cntr_keys_0=0;cntr_keys_0<r->num_keys;cntr_keys_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_nbt.c b/source3/librpc/gen_ndr/ndr_nbt.c index 240b58e1d9..75667183a8 100644 --- a/source3/librpc/gen_ndr/ndr_nbt.c +++ b/source3/librpc/gen_ndr/ndr_nbt.c @@ -266,7 +266,7 @@ _PUBLIC_ void ndr_print_nbt_rdata_netbios(struct ndr_print *ndr, const char *nam ndr_print_struct(ndr, name, "nbt_rdata_netbios"); ndr->depth++; ndr_print_uint16(ndr, "length", r->length); - ndr->print(ndr, "%s: ARRAY(%d)", "addresses", r->length / 6); + ndr->print(ndr, "%s: ARRAY(%d)", "addresses", (int)r->length / 6); ndr->depth++; for (cntr_addresses_0=0;cntr_addresses_0<r->length / 6;cntr_addresses_0++) { char *idx_0=NULL; @@ -448,7 +448,7 @@ _PUBLIC_ void ndr_print_nbt_rdata_status(struct ndr_print *ndr, const char *name ndr->depth++; ndr_print_uint16(ndr, "length", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?r->num_names * 18 + 47:r->length); ndr_print_uint8(ndr, "num_names", r->num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->num_names;cntr_names_0++) { char *idx_0=NULL; @@ -772,7 +772,7 @@ _PUBLIC_ void ndr_print_nbt_name_packet(struct ndr_print *ndr, const char *name, ndr_print_uint16(ndr, "ancount", r->ancount); ndr_print_uint16(ndr, "nscount", r->nscount); ndr_print_uint16(ndr, "arcount", r->arcount); - ndr->print(ndr, "%s: ARRAY(%d)", "questions", r->qdcount); + ndr->print(ndr, "%s: ARRAY(%d)", "questions", (int)r->qdcount); ndr->depth++; for (cntr_questions_0=0;cntr_questions_0<r->qdcount;cntr_questions_0++) { char *idx_0=NULL; @@ -782,7 +782,7 @@ _PUBLIC_ void ndr_print_nbt_name_packet(struct ndr_print *ndr, const char *name, } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "answers", r->ancount); + ndr->print(ndr, "%s: ARRAY(%d)", "answers", (int)r->ancount); ndr->depth++; for (cntr_answers_0=0;cntr_answers_0<r->ancount;cntr_answers_0++) { char *idx_0=NULL; @@ -792,7 +792,7 @@ _PUBLIC_ void ndr_print_nbt_name_packet(struct ndr_print *ndr, const char *name, } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "nsrecs", r->nscount); + ndr->print(ndr, "%s: ARRAY(%d)", "nsrecs", (int)r->nscount); ndr->depth++; for (cntr_nsrecs_0=0;cntr_nsrecs_0<r->nscount;cntr_nsrecs_0++) { char *idx_0=NULL; @@ -802,7 +802,7 @@ _PUBLIC_ void ndr_print_nbt_name_packet(struct ndr_print *ndr, const char *name, } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "additional", r->arcount); + ndr->print(ndr, "%s: ARRAY(%d)", "additional", (int)r->arcount); ndr->depth++; for (cntr_additional_0=0;cntr_additional_0<r->arcount;cntr_additional_0++) { char *idx_0=NULL; @@ -1792,7 +1792,7 @@ _PUBLIC_ void ndr_print_nbt_netlogon_query_for_pdc2(struct ndr_print *ndr, const ndr_print_string(ndr, "computer_name", r->computer_name); ndr_print_string(ndr, "user_name", r->user_name); ndr_print_string(ndr, "mailslot_name", r->mailslot_name); - ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 2); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)2); ndr->depth++; for (cntr_unknown_0=0;cntr_unknown_0<2;cntr_unknown_0++) { char *idx_0=NULL; @@ -2254,7 +2254,7 @@ _PUBLIC_ void ndr_print_nbt_netlogon_announce_uas(struct ndr_print *ndr, const c ndr_print_string(ndr, "unicode_pdc_name", r->unicode_pdc_name); ndr_print_string(ndr, "unicode_domain", r->unicode_domain); ndr_print_uint32(ndr, "db_count", r->db_count); - ndr->print(ndr, "%s: ARRAY(%d)", "dbchange", r->db_count); + ndr->print(ndr, "%s: ARRAY(%d)", "dbchange", (int)r->db_count); ndr->depth++; for (cntr_dbchange_0=0;cntr_dbchange_0<r->db_count;cntr_dbchange_0++) { char *idx_0=NULL; @@ -4274,7 +4274,7 @@ _PUBLIC_ void ndr_print_nbt_browse_backup_list_response(struct ndr_print *ndr, c ndr->depth++; ndr_print_uint8(ndr, "BackupCount", r->BackupCount); ndr_print_uint32(ndr, "Token", r->Token); - ndr->print(ndr, "%s: ARRAY(%d)", "BackupServerList", r->BackupCount); + ndr->print(ndr, "%s: ARRAY(%d)", "BackupServerList", (int)r->BackupCount); ndr->depth++; for (cntr_BackupServerList_0=0;cntr_BackupServerList_0<r->BackupCount;cntr_BackupServerList_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_netlogon.c b/source3/librpc/gen_ndr/ndr_netlogon.c index ce61f8d0aa..ba05ebc03f 100644 --- a/source3/librpc/gen_ndr/ndr_netlogon.c +++ b/source3/librpc/gen_ndr/ndr_netlogon.c @@ -1054,7 +1054,7 @@ _PUBLIC_ void ndr_print_netr_SamBaseInfo(struct ndr_print *ndr, const char *name ndr->depth--; ndr_print_netr_LMSessionKey(ndr, "LMSessKey", &r->LMSessKey); ndr_print_samr_AcctFlags(ndr, "acct_flags", r->acct_flags); - ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 7); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)7); ndr->depth++; for (cntr_unknown_0=0;cntr_unknown_0<7;cntr_unknown_0++) { char *idx_0=NULL; @@ -1229,7 +1229,7 @@ _PUBLIC_ void ndr_print_netr_SamInfo3(struct ndr_print *ndr, const char *name, c ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->sidcount); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->sidcount); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->sidcount;cntr_sids_1++) { char *idx_1=NULL; @@ -1337,7 +1337,7 @@ _PUBLIC_ void ndr_print_netr_SamInfo6(struct ndr_print *ndr, const char *name, c ndr_print_ptr(ndr, "sids", r->sids); ndr->depth++; if (r->sids) { - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->sidcount); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->sidcount); ndr->depth++; for (cntr_sids_1=0;cntr_sids_1<r->sidcount;cntr_sids_1++) { char *idx_1=NULL; @@ -1351,7 +1351,7 @@ _PUBLIC_ void ndr_print_netr_SamInfo6(struct ndr_print *ndr, const char *name, c ndr->depth--; ndr_print_lsa_String(ndr, "forest", &r->forest); ndr_print_lsa_String(ndr, "principle", &r->principle); - ndr->print(ndr, "%s: ARRAY(%d)", "unknown4", 20); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown4", (int)20); ndr->depth++; for (cntr_unknown4_0=0;cntr_unknown4_0<20;cntr_unknown4_0++) { char *idx_0=NULL; @@ -1497,7 +1497,7 @@ _PUBLIC_ void ndr_print_netr_PacInfo(struct ndr_print *ndr, const char *name, co } ndr->depth--; ndr_print_netr_UserSessionKey(ndr, "user_session_key", &r->user_session_key); - ndr->print(ndr, "%s: ARRAY(%d)", "expansionroom", 10); + ndr->print(ndr, "%s: ARRAY(%d)", "expansionroom", (int)10); ndr->depth++; for (cntr_expansionroom_0=0;cntr_expansionroom_0<10;cntr_expansionroom_0++) { char *idx_0=NULL; @@ -2773,7 +2773,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_GROUP_MEMBER(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "rids", r->rids); ndr->depth++; if (r->rids) { - ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->num_rids); + ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->num_rids); ndr->depth++; for (cntr_rids_1=0;cntr_rids_1<r->num_rids;cntr_rids_1++) { char *idx_1=NULL; @@ -2788,7 +2788,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_GROUP_MEMBER(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "attribs", r->attribs); ndr->depth++; if (r->attribs) { - ndr->print(ndr, "%s: ARRAY(%d)", "attribs", r->num_rids); + ndr->print(ndr, "%s: ARRAY(%d)", "attribs", (int)r->num_rids); ndr->depth++; for (cntr_attribs_1=0;cntr_attribs_1<r->num_rids;cntr_attribs_1++) { char *idx_1=NULL; @@ -3104,7 +3104,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_POLICY(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "eventauditoptions", r->eventauditoptions); ndr->depth++; if (r->eventauditoptions) { - ndr->print(ndr, "%s: ARRAY(%d)", "eventauditoptions", r->maxauditeventcount + 1); + ndr->print(ndr, "%s: ARRAY(%d)", "eventauditoptions", (int)r->maxauditeventcount + 1); ndr->depth++; for (cntr_eventauditoptions_1=0;cntr_eventauditoptions_1<r->maxauditeventcount + 1;cntr_eventauditoptions_1++) { char *idx_1=NULL; @@ -3245,7 +3245,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_TRUSTED_DOMAIN(struct ndr_print *ndr, const c ndr_print_ptr(ndr, "controller_names", r->controller_names); ndr->depth++; if (r->controller_names) { - ndr->print(ndr, "%s: ARRAY(%d)", "controller_names", r->num_controllers); + ndr->print(ndr, "%s: ARRAY(%d)", "controller_names", (int)r->num_controllers); ndr->depth++; for (cntr_controller_names_1=0;cntr_controller_names_1<r->num_controllers;cntr_controller_names_1++) { char *idx_1=NULL; @@ -3443,7 +3443,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_ACCOUNT(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "privilege_attrib", r->privilege_attrib); ndr->depth++; if (r->privilege_attrib) { - ndr->print(ndr, "%s: ARRAY(%d)", "privilege_attrib", r->privilege_entries); + ndr->print(ndr, "%s: ARRAY(%d)", "privilege_attrib", (int)r->privilege_entries); ndr->depth++; for (cntr_privilege_attrib_1=0;cntr_privilege_attrib_1<r->privilege_entries;cntr_privilege_attrib_1++) { char *idx_1=NULL; @@ -3458,7 +3458,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_ACCOUNT(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "privilege_name", r->privilege_name); ndr->depth++; if (r->privilege_name) { - ndr->print(ndr, "%s: ARRAY(%d)", "privilege_name", r->privilege_entries); + ndr->print(ndr, "%s: ARRAY(%d)", "privilege_name", (int)r->privilege_entries); ndr->depth++; for (cntr_privilege_name_1=0;cntr_privilege_name_1<r->privilege_entries;cntr_privilege_name_1++) { char *idx_1=NULL; @@ -5248,7 +5248,7 @@ _PUBLIC_ void ndr_print_netr_DELTA_ENUM_ARRAY(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "delta_enum", r->delta_enum); ndr->depth++; if (r->delta_enum) { - ndr->print(ndr, "%s: ARRAY(%d)", "delta_enum", r->num_deltas); + ndr->print(ndr, "%s: ARRAY(%d)", "delta_enum", (int)r->num_deltas); ndr->depth++; for (cntr_delta_enum_1=0;cntr_delta_enum_1<r->num_deltas;cntr_delta_enum_1++) { char *idx_1=NULL; @@ -6475,7 +6475,7 @@ _PUBLIC_ void ndr_print_netr_BinaryString(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "data", r->data); ndr->depth++; if (r->data) { - ndr->print(ndr, "%s: ARRAY(%d)", "data", r->length / 2); + ndr->print(ndr, "%s: ARRAY(%d)", "data", (int)r->length / 2); ndr->depth++; for (cntr_data_1=0;cntr_data_1<r->length / 2;cntr_data_1++) { char *idx_1=NULL; @@ -6748,7 +6748,7 @@ _PUBLIC_ void ndr_print_netr_DomainQuery1(struct ndr_print *ndr, const char *nam ndr_print_lsa_String(ndr, "product", &r->product); ndr_print_lsa_String(ndr, "unknown5", &r->unknown5); ndr_print_lsa_String(ndr, "unknown6", &r->unknown6); - ndr->print(ndr, "%s: ARRAY(%d)", "unknown7", 4); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown7", (int)4); ndr->depth++; for (cntr_unknown7_0=0;cntr_unknown7_0<4;cntr_unknown7_0++) { char *idx_0=NULL; @@ -6985,7 +6985,7 @@ _PUBLIC_ void ndr_print_netr_DomainTrustInfo(struct ndr_print *ndr, const char * ndr_print_dom_sid2(ndr, "sid", r->sid); } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "unknown1", 4); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown1", (int)4); ndr->depth++; for (cntr_unknown1_0=0;cntr_unknown1_0<4;cntr_unknown1_0++) { char *idx_0=NULL; @@ -6995,7 +6995,7 @@ _PUBLIC_ void ndr_print_netr_DomainTrustInfo(struct ndr_print *ndr, const char * } } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 4); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)4); ndr->depth++; for (cntr_unknown_0=0;cntr_unknown_0<4;cntr_unknown_0++) { char *idx_0=NULL; @@ -7093,7 +7093,7 @@ _PUBLIC_ void ndr_print_netr_DomainInfo1(struct ndr_print *ndr, const char *name ndr_print_ptr(ndr, "trusts", r->trusts); ndr->depth++; if (r->trusts) { - ndr->print(ndr, "%s: ARRAY(%d)", "trusts", r->num_trusts); + ndr->print(ndr, "%s: ARRAY(%d)", "trusts", (int)r->num_trusts); ndr->depth++; for (cntr_trusts_1=0;cntr_trusts_1<r->num_trusts;cntr_trusts_1++) { char *idx_1=NULL; @@ -7105,7 +7105,7 @@ _PUBLIC_ void ndr_print_netr_DomainInfo1(struct ndr_print *ndr, const char *name ndr->depth--; } ndr->depth--; - ndr->print(ndr, "%s: ARRAY(%d)", "unknown", 14); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown", (int)14); ndr->depth++; for (cntr_unknown_0=0;cntr_unknown_0<14;cntr_unknown_0++) { char *idx_0=NULL; @@ -7369,7 +7369,7 @@ _PUBLIC_ void ndr_print_netr_DsRAddressToSitenamesWCtr(struct ndr_print *ndr, co ndr_print_ptr(ndr, "sitename", r->sitename); ndr->depth++; if (r->sitename) { - ndr->print(ndr, "%s: ARRAY(%d)", "sitename", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "sitename", (int)r->count); ndr->depth++; for (cntr_sitename_1=0;cntr_sitename_1<r->count;cntr_sitename_1++) { char *idx_1=NULL; @@ -7731,7 +7731,7 @@ _PUBLIC_ void ndr_print_netr_DomainTrustList(struct ndr_print *ndr, const char * ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -7858,7 +7858,7 @@ _PUBLIC_ void ndr_print_netr_DsRAddressToSitenamesExWCtr(struct ndr_print *ndr, ndr_print_ptr(ndr, "sitename", r->sitename); ndr->depth++; if (r->sitename) { - ndr->print(ndr, "%s: ARRAY(%d)", "sitename", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "sitename", (int)r->count); ndr->depth++; for (cntr_sitename_1=0;cntr_sitename_1<r->count;cntr_sitename_1++) { char *idx_1=NULL; @@ -7873,7 +7873,7 @@ _PUBLIC_ void ndr_print_netr_DsRAddressToSitenamesExWCtr(struct ndr_print *ndr, ndr_print_ptr(ndr, "subnetname", r->subnetname); ndr->depth++; if (r->subnetname) { - ndr->print(ndr, "%s: ARRAY(%d)", "subnetname", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "subnetname", (int)r->count); ndr->depth++; for (cntr_subnetname_1=0;cntr_subnetname_1<r->count;cntr_subnetname_1++) { char *idx_1=NULL; @@ -7959,7 +7959,7 @@ _PUBLIC_ void ndr_print_DcSitesCtr(struct ndr_print *ndr, const char *name, cons ndr_print_ptr(ndr, "sites", r->sites); ndr->depth++; if (r->sites) { - ndr->print(ndr, "%s: ARRAY(%d)", "sites", r->num_sites); + ndr->print(ndr, "%s: ARRAY(%d)", "sites", (int)r->num_sites); ndr->depth++; for (cntr_sites_1=0;cntr_sites_1<r->num_sites;cntr_sites_1++) { char *idx_1=NULL; @@ -12747,7 +12747,7 @@ _PUBLIC_ void ndr_print_netr_DsRAddressToSitenamesW(struct ndr_print *ndr, const ndr_print_uint32(ndr, "count", r->in.count); ndr_print_ptr(ndr, "addresses", r->in.addresses); ndr->depth++; - ndr->print(ndr, "%s: ARRAY(%d)", "addresses", r->in.count); + ndr->print(ndr, "%s: ARRAY(%d)", "addresses", (int)r->in.count); ndr->depth++; for (cntr_addresses_1=0;cntr_addresses_1<r->in.count;cntr_addresses_1++) { char *idx_1=NULL; @@ -13290,7 +13290,7 @@ _PUBLIC_ void ndr_print_netr_DsRAddressToSitenamesExW(struct ndr_print *ndr, con ndr_print_uint32(ndr, "count", r->in.count); ndr_print_ptr(ndr, "addresses", r->in.addresses); ndr->depth++; - ndr->print(ndr, "%s: ARRAY(%d)", "addresses", r->in.count); + ndr->print(ndr, "%s: ARRAY(%d)", "addresses", (int)r->in.count); ndr->depth++; for (cntr_addresses_1=0;cntr_addresses_1<r->in.count;cntr_addresses_1++) { char *idx_1=NULL; diff --git a/source3/librpc/gen_ndr/ndr_notify.c b/source3/librpc/gen_ndr/ndr_notify.c index 195d421408..00ba8bc293 100644 --- a/source3/librpc/gen_ndr/ndr_notify.c +++ b/source3/librpc/gen_ndr/ndr_notify.c @@ -116,7 +116,7 @@ _PUBLIC_ void ndr_print_notify_depth(struct ndr_print *ndr, const char *name, co ndr_print_uint32(ndr, "max_mask", r->max_mask); ndr_print_uint32(ndr, "max_mask_subdir", r->max_mask_subdir); ndr_print_uint32(ndr, "num_entries", r->num_entries); - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->num_entries); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->num_entries); ndr->depth++; for (cntr_entries_0=0;cntr_entries_0<r->num_entries;cntr_entries_0++) { char *idx_0=NULL; @@ -179,7 +179,7 @@ _PUBLIC_ void ndr_print_notify_array(struct ndr_print *ndr, const char *name, co ndr_print_struct(ndr, name, "notify_array"); ndr->depth++; ndr_print_uint32(ndr, "num_depths", r->num_depths); - ndr->print(ndr, "%s: ARRAY(%d)", "depth", r->num_depths); + ndr->print(ndr, "%s: ARRAY(%d)", "depth", (int)r->num_depths); ndr->depth++; for (cntr_depth_0=0;cntr_depth_0<r->num_depths;cntr_depth_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_ntsvcs.c b/source3/librpc/gen_ndr/ndr_ntsvcs.c index 1ce5b15a88..62acf474ae 100644 --- a/source3/librpc/gen_ndr/ndr_ntsvcs.c +++ b/source3/librpc/gen_ndr/ndr_ntsvcs.c @@ -41,7 +41,7 @@ _PUBLIC_ void ndr_print_PNP_HwProfInfo(struct ndr_print *ndr, const char *name, ndr_print_struct(ndr, name, "PNP_HwProfInfo"); ndr->depth++; ndr_print_uint32(ndr, "unknown1", r->unknown1); - ndr->print(ndr, "%s: ARRAY(%d)", "unknown2", 160); + ndr->print(ndr, "%s: ARRAY(%d)", "unknown2", (int)160); ndr->depth++; for (cntr_unknown2_0=0;cntr_unknown2_0<160;cntr_unknown2_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_samr.c b/source3/librpc/gen_ndr/ndr_samr.c index c3f8bc625a..9c5a886325 100644 --- a/source3/librpc/gen_ndr/ndr_samr.c +++ b/source3/librpc/gen_ndr/ndr_samr.c @@ -295,7 +295,7 @@ _PUBLIC_ void ndr_print_samr_SamArray(struct ndr_print *ndr, const char *name, c ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -1156,7 +1156,7 @@ _PUBLIC_ void ndr_print_samr_Ids(struct ndr_print *ndr, const char *name, const ndr_print_ptr(ndr, "ids", r->ids); ndr->depth++; if (r->ids) { - ndr->print(ndr, "%s: ARRAY(%d)", "ids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "ids", (int)r->count); ndr->depth++; for (cntr_ids_1=0;cntr_ids_1<r->count;cntr_ids_1++) { char *idx_1=NULL; @@ -1553,7 +1553,7 @@ _PUBLIC_ void ndr_print_samr_RidTypeArray(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "rids", r->rids); ndr->depth++; if (r->rids) { - ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->count); ndr->depth++; for (cntr_rids_1=0;cntr_rids_1<r->count;cntr_rids_1++) { char *idx_1=NULL; @@ -1568,7 +1568,7 @@ _PUBLIC_ void ndr_print_samr_RidTypeArray(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "types", r->types); ndr->depth++; if (r->types) { - ndr->print(ndr, "%s: ARRAY(%d)", "types", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "types", (int)r->count); ndr->depth++; for (cntr_types_1=0;cntr_types_1<r->count;cntr_types_1++) { char *idx_1=NULL; @@ -3703,7 +3703,7 @@ _PUBLIC_ void ndr_print_samr_RidWithAttributeArray(struct ndr_print *ndr, const ndr_print_ptr(ndr, "rids", r->rids); ndr->depth++; if (r->rids) { - ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->count); ndr->depth++; for (cntr_rids_1=0;cntr_rids_1<r->count;cntr_rids_1++) { char *idx_1=NULL; @@ -3840,7 +3840,7 @@ _PUBLIC_ void ndr_print_samr_DispInfoGeneral(struct ndr_print *ndr, const char * ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -3972,7 +3972,7 @@ _PUBLIC_ void ndr_print_samr_DispInfoFull(struct ndr_print *ndr, const char *nam ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -4104,7 +4104,7 @@ _PUBLIC_ void ndr_print_samr_DispInfoFullGroups(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -4225,7 +4225,7 @@ _PUBLIC_ void ndr_print_samr_DispInfoAscii(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "entries", r->entries); ndr->depth++; if (r->entries) { - ndr->print(ndr, "%s: ARRAY(%d)", "entries", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "entries", (int)r->count); ndr->depth++; for (cntr_entries_1=0;cntr_entries_1<r->count;cntr_entries_1++) { char *idx_1=NULL; @@ -4827,7 +4827,7 @@ _PUBLIC_ void ndr_print_samr_ValidatePasswordInfo(struct ndr_print *ndr, const c ndr_print_ptr(ndr, "pwd_history", r->pwd_history); ndr->depth++; if (r->pwd_history) { - ndr->print(ndr, "%s: ARRAY(%d)", "pwd_history", r->pwd_history_len); + ndr->print(ndr, "%s: ARRAY(%d)", "pwd_history", (int)r->pwd_history_len); ndr->depth++; for (cntr_pwd_history_1=0;cntr_pwd_history_1<r->pwd_history_len;cntr_pwd_history_1++) { char *idx_1=NULL; @@ -7198,7 +7198,7 @@ _PUBLIC_ void ndr_print_samr_LookupNames(struct ndr_print *ndr, const char *name ndr_print_policy_handle(ndr, "domain_handle", r->in.domain_handle); ndr->depth--; ndr_print_uint32(ndr, "num_names", r->in.num_names); - ndr->print(ndr, "%s: ARRAY(%d)", "names", r->in.num_names); + ndr->print(ndr, "%s: ARRAY(%d)", "names", (int)r->in.num_names); ndr->depth++; for (cntr_names_0=0;cntr_names_0<r->in.num_names;cntr_names_0++) { char *idx_0=NULL; @@ -7337,7 +7337,7 @@ _PUBLIC_ void ndr_print_samr_LookupRids(struct ndr_print *ndr, const char *name, ndr_print_policy_handle(ndr, "domain_handle", r->in.domain_handle); ndr->depth--; ndr_print_uint32(ndr, "num_rids", r->in.num_rids); - ndr->print(ndr, "%s: ARRAY(%d)", "rids", r->in.num_rids); + ndr->print(ndr, "%s: ARRAY(%d)", "rids", (int)r->in.num_rids); ndr->depth++; for (cntr_rids_0=0;cntr_rids_0<r->in.num_rids;cntr_rids_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_security.c b/source3/librpc/gen_ndr/ndr_security.c index cbeabf48e5..d54fdb2395 100644 --- a/source3/librpc/gen_ndr/ndr_security.c +++ b/source3/librpc/gen_ndr/ndr_security.c @@ -548,7 +548,7 @@ _PUBLIC_ void ndr_print_security_acl(struct ndr_print *ndr, const char *name, co ndr_print_security_acl_revision(ndr, "revision", r->revision); ndr_print_uint16(ndr, "size", (ndr->flags & LIBNDR_PRINT_SET_VALUES)?ndr_size_security_acl(r, ndr->flags):r->size); ndr_print_uint32(ndr, "num_aces", r->num_aces); - ndr->print(ndr, "%s: ARRAY(%d)", "aces", r->num_aces); + ndr->print(ndr, "%s: ARRAY(%d)", "aces", (int)r->num_aces); ndr->depth++; for (cntr_aces_0=0;cntr_aces_0<r->num_aces;cntr_aces_0++) { char *idx_0=NULL; @@ -976,7 +976,7 @@ _PUBLIC_ void ndr_print_security_token(struct ndr_print *ndr, const char *name, } ndr->depth--; ndr_print_uint32(ndr, "num_sids", r->num_sids); - ndr->print(ndr, "%s: ARRAY(%d)", "sids", r->num_sids); + ndr->print(ndr, "%s: ARRAY(%d)", "sids", (int)r->num_sids); ndr->depth++; for (cntr_sids_0=0;cntr_sids_0<r->num_sids;cntr_sids_0++) { char *idx_0=NULL; diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.c b/source3/librpc/gen_ndr/ndr_srvsvc.c index 7e2df4ca70..d97ee0171c 100644 --- a/source3/librpc/gen_ndr/ndr_srvsvc.c +++ b/source3/librpc/gen_ndr/ndr_srvsvc.c @@ -136,7 +136,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevCtr0(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -321,7 +321,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevCtr1(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -743,7 +743,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevQCtr0(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -931,7 +931,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevQCtr1(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -1317,7 +1317,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetConnCtr0(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -1511,7 +1511,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetConnCtr1(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -1797,7 +1797,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetFileCtr2(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -1985,7 +1985,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetFileCtr3(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -2445,7 +2445,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessCtr0(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -2636,7 +2636,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessCtr1(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -2860,7 +2860,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessCtr2(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -3045,7 +3045,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessCtr10(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -3302,7 +3302,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessCtr502(struct ndr_print *ndr, const char * ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -3791,7 +3791,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr0(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -3973,7 +3973,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4230,7 +4230,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr2(struct ndr_print *ndr, const char *n ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4415,7 +4415,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr501(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4677,7 +4677,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr502(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4823,7 +4823,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1004(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4956,7 +4956,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1005(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5066,7 +5066,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1006(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5215,7 +5215,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1007(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5301,7 +5301,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareCtr1501(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -11580,7 +11580,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetDiskInfo(struct ndr_print *ndr, const char *na ndr_print_ptr(ndr, "disks", r->disks); ndr->depth++; if (r->disks) { - ndr->print(ndr, "%s: ARRAY(%d)", "disks", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "disks", (int)r->count); ndr->depth++; for (cntr_disks_1=0;cntr_disks_1<r->count;cntr_disks_1++) { char *idx_1=NULL; @@ -11873,7 +11873,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportCtr0(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -12121,7 +12121,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportCtr1(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -12372,7 +12372,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportCtr2(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -12629,7 +12629,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportCtr3(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; diff --git a/source3/librpc/gen_ndr/ndr_winreg.c b/source3/librpc/gen_ndr/ndr_winreg.c index 0a53947513..1a861af29f 100644 --- a/source3/librpc/gen_ndr/ndr_winreg.c +++ b/source3/librpc/gen_ndr/ndr_winreg.c @@ -3807,7 +3807,7 @@ _PUBLIC_ void ndr_print_winreg_QueryMultipleValues(struct ndr_print *ndr, const ndr->depth--; ndr_print_ptr(ndr, "values", r->in.values); ndr->depth++; - ndr->print(ndr, "%s: ARRAY(%d)", "values", r->in.num_values); + ndr->print(ndr, "%s: ARRAY(%d)", "values", (int)r->in.num_values); ndr->depth++; for (cntr_values_1=0;cntr_values_1<r->in.num_values;cntr_values_1++) { char *idx_1=NULL; @@ -3836,7 +3836,7 @@ _PUBLIC_ void ndr_print_winreg_QueryMultipleValues(struct ndr_print *ndr, const ndr->depth++; ndr_print_ptr(ndr, "values", r->out.values); ndr->depth++; - ndr->print(ndr, "%s: ARRAY(%d)", "values", r->in.num_values); + ndr->print(ndr, "%s: ARRAY(%d)", "values", (int)r->in.num_values); ndr->depth++; for (cntr_values_1=0;cntr_values_1<r->in.num_values;cntr_values_1++) { char *idx_1=NULL; diff --git a/source3/librpc/gen_ndr/ndr_wkssvc.c b/source3/librpc/gen_ndr/ndr_wkssvc.c index d3870daf01..10e5e55e2e 100644 --- a/source3/librpc/gen_ndr/ndr_wkssvc.c +++ b/source3/librpc/gen_ndr/ndr_wkssvc.c @@ -3067,7 +3067,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetWkstaEnumUsersCtr0(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "user0", r->user0); ndr->depth++; if (r->user0) { - ndr->print(ndr, "%s: ARRAY(%d)", "user0", r->entries_read); + ndr->print(ndr, "%s: ARRAY(%d)", "user0", (int)r->entries_read); ndr->depth++; for (cntr_user0_1=0;cntr_user0_1<r->entries_read;cntr_user0_1++) { char *idx_1=NULL; @@ -3312,7 +3312,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetWkstaEnumUsersCtr1(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "user1", r->user1); ndr->depth++; if (r->user1) { - ndr->print(ndr, "%s: ARRAY(%d)", "user1", r->entries_read); + ndr->print(ndr, "%s: ARRAY(%d)", "user1", (int)r->entries_read); ndr->depth++; for (cntr_user1_1=0;cntr_user1_1<r->entries_read;cntr_user1_1++) { char *idx_1=NULL; @@ -3903,7 +3903,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetWkstaTransportCtr0(struct ndr_print *ndr, cons ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4860,7 +4860,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetrUseEnumCtr2(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -4946,7 +4946,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetrUseEnumCtr1(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5032,7 +5032,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetrUseEnumCtr0(struct ndr_print *ndr, const char ndr_print_ptr(ndr, "array", r->array); ndr->depth++; if (r->array) { - ndr->print(ndr, "%s: ARRAY(%d)", "array", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "array", (int)r->count); ndr->depth++; for (cntr_array_1=0;cntr_array_1<r->count;cntr_array_1++) { char *idx_1=NULL; @@ -5656,7 +5656,7 @@ _PUBLIC_ void ndr_print_wkssvc_ComputerNamesCtr(struct ndr_print *ndr, const cha ndr_print_ptr(ndr, "computer_name", r->computer_name); ndr->depth++; if (r->computer_name) { - ndr->print(ndr, "%s: ARRAY(%d)", "computer_name", r->count); + ndr->print(ndr, "%s: ARRAY(%d)", "computer_name", (int)r->count); ndr->depth++; for (cntr_computer_name_1=0;cntr_computer_name_1<r->count;cntr_computer_name_1++) { char *idx_1=NULL; @@ -8825,7 +8825,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetrGetJoinableOus(struct ndr_print *ndr, const c ndr_print_ptr(ndr, "ous", *r->out.ous); ndr->depth++; if (*r->out.ous) { - ndr->print(ndr, "%s: ARRAY(%d)", "ous", *r->out.num_ous); + ndr->print(ndr, "%s: ARRAY(%d)", "ous", (int)*r->out.num_ous); ndr->depth++; for (cntr_ous_2=0;cntr_ous_2<*r->out.num_ous;cntr_ous_2++) { char *idx_2=NULL; @@ -9745,7 +9745,7 @@ _PUBLIC_ void ndr_print_wkssvc_NetrGetJoinableOus2(struct ndr_print *ndr, const ndr_print_ptr(ndr, "ous", *r->out.ous); ndr->depth++; if (*r->out.ous) { - ndr->print(ndr, "%s: ARRAY(%d)", "ous", *r->out.num_ous); + ndr->print(ndr, "%s: ARRAY(%d)", "ous", (int)*r->out.num_ous); ndr->depth++; for (cntr_ous_2=0;cntr_ous_2<*r->out.num_ous;cntr_ous_2++) { char *idx_2=NULL; diff --git a/source3/librpc/gen_ndr/ndr_xattr.c b/source3/librpc/gen_ndr/ndr_xattr.c index 9cde197444..92369835cf 100644 --- a/source3/librpc/gen_ndr/ndr_xattr.c +++ b/source3/librpc/gen_ndr/ndr_xattr.c @@ -87,7 +87,7 @@ _PUBLIC_ void ndr_print_tdb_xattrs(struct ndr_print *ndr, const char *name, cons ndr_print_struct(ndr, name, "tdb_xattrs"); ndr->depth++; ndr_print_uint32(ndr, "num_xattrs", r->num_xattrs); - ndr->print(ndr, "%s: ARRAY(%d)", "xattrs", r->num_xattrs); + ndr->print(ndr, "%s: ARRAY(%d)", "xattrs", (int)r->num_xattrs); ndr->depth++; for (cntr_xattrs_0=0;cntr_xattrs_0<r->num_xattrs;cntr_xattrs_0++) { char *idx_0=NULL; |