The branch, v3-2-test has been updated via cd3f4ee593e606e48cd104df222f8bda8e370a58 (commit) from 1361caecb355047001f8a351ec2e6f10d7f0e741 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit cd3f4ee593e606e48cd104df222f8bda8e370a58 Author: Michael Adam <[EMAIL PROTECTED]> Date: Tue Aug 26 17:17:14 2008 +0200 re-run make idl after Jelmer's "poperly cast array lengths" pidl change. (f321240fa91fa19c1131f119c42f64897d220682) Michael ----------------------------------------------------------------------- Summary of changes: source/librpc/gen_ndr/ndr_dfs.c | 22 ++++++------ source/librpc/gen_ndr/ndr_echo.c | 2 +- source/librpc/gen_ndr/ndr_epmapper.c | 10 +++--- source/librpc/gen_ndr/ndr_eventlog.c | 2 +- source/librpc/gen_ndr/ndr_krb5pac.c | 4 +- source/librpc/gen_ndr/ndr_lsa.c | 40 ++++++++++++------------ source/librpc/gen_ndr/ndr_messaging.c | 4 +- source/librpc/gen_ndr/ndr_netlogon.c | 50 ++++++++++++++-------------- source/librpc/gen_ndr/ndr_notify.c | 4 +- source/librpc/gen_ndr/ndr_ntsvcs.c | 2 +- source/librpc/gen_ndr/ndr_samr.c | 24 +++++++------- source/librpc/gen_ndr/ndr_security.c | 4 +- source/librpc/gen_ndr/ndr_srvsvc.c | 56 ++++++++++++++++---------------- source/librpc/gen_ndr/ndr_winreg.c | 4 +- source/librpc/gen_ndr/ndr_wkssvc.c | 18 +++++----- source/librpc/gen_ndr/ndr_xattr.c | 2 +- 16 files changed, 124 insertions(+), 124 deletions(-) Changeset truncated at 500 lines: diff --git a/source/librpc/gen_ndr/ndr_dfs.c b/source/librpc/gen_ndr/ndr_dfs.c index 1897550..db3f5e4 100644 --- a/source/librpc/gen_ndr/ndr_dfs.c +++ b/source/librpc/gen_ndr/ndr_dfs.c @@ -502,7 +502,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; @@ -665,7 +665,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; @@ -1073,7 +1073,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; @@ -2264,7 +2264,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; @@ -2350,7 +2350,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; @@ -2436,7 +2436,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; @@ -2522,7 +2522,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; @@ -2608,7 +2608,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; @@ -2694,7 +2694,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; @@ -2780,7 +2780,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; @@ -2866,7 +2866,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/source/librpc/gen_ndr/ndr_echo.c b/source/librpc/gen_ndr/ndr_echo.c index 83b5fa1..93a8464 100644 --- a/source/librpc/gen_ndr/ndr_echo.c +++ b/source/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/source/librpc/gen_ndr/ndr_epmapper.c b/source/librpc/gen_ndr/ndr_epmapper.c index ba2f7bd..ab84d28 100644 --- a/source/librpc/gen_ndr/ndr_epmapper.c +++ b/source/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/source/librpc/gen_ndr/ndr_eventlog.c b/source/librpc/gen_ndr/ndr_eventlog.c index c5461d9..2eb26c4 100644 --- a/source/librpc/gen_ndr/ndr_eventlog.c +++ b/source/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/source/librpc/gen_ndr/ndr_krb5pac.c b/source/librpc/gen_ndr/ndr_krb5pac.c index ef596e4..70d63ae 100644 --- a/source/librpc/gen_ndr/ndr_krb5pac.c +++ b/source/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/source/librpc/gen_ndr/ndr_lsa.c b/source/librpc/gen_ndr/ndr_lsa.c index c7d428b..f25410a 100644 --- a/source/librpc/gen_ndr/ndr_lsa.c +++ b/source/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/source/librpc/gen_ndr/ndr_messaging.c b/source/librpc/gen_ndr/ndr_messaging.c index 60cab9a..6251c18 100644 --- a/source/librpc/gen_ndr/ndr_messaging.c +++ b/source/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/source/librpc/gen_ndr/ndr_netlogon.c b/source/librpc/gen_ndr/ndr_netlogon.c index eff816c..b43a157 100644 --- a/source/librpc/gen_ndr/ndr_netlogon.c +++ b/source/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; -- Samba Shared Repository