diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-12-15 17:21:04 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-21 15:10:37 +1100 |
commit | 464b8fa3173de7cc801195a28b84786cb1c63833 (patch) | |
tree | 0f0c63872916930a19cfc9ae22766ed12f680d34 | |
parent | 3b591caed00790c5d21b8774c7af87357c329d1c (diff) | |
download | samba-464b8fa3173de7cc801195a28b84786cb1c63833.tar.gz samba-464b8fa3173de7cc801195a28b84786cb1c63833.tar.bz2 samba-464b8fa3173de7cc801195a28b84786cb1c63833.zip |
librpc/ndr/ndr_*.c - remove "const" from OIDs
-rw-r--r-- | librpc/ndr/ndr_drsblobs.c | 2 | ||||
-rw-r--r-- | librpc/ndr/ndr_drsuapi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/librpc/ndr/ndr_drsblobs.c b/librpc/ndr/ndr_drsblobs.c index 51880bb46f..32176a7bf9 100644 --- a/librpc/ndr/ndr_drsblobs.c +++ b/librpc/ndr/ndr_drsblobs.c @@ -138,7 +138,7 @@ _PUBLIC_ void ndr_print_drsuapi_MSPrefixMap_Entry(struct ndr_print *ndr, const c char *partial_oid = NULL; DATA_BLOB oid_blob = data_blob_const(r->binary_oid, r->length); char *hex_str = data_blob_hex_string_upper(ndr, &oid_blob); - ber_read_partial_OID_String(ndr, oid_blob, (const char **)&partial_oid); + ber_read_partial_OID_String(ndr, oid_blob, &partial_oid); ndr->depth++; ndr->print(ndr, "%-25s: 0x%s (%s)", "binary_oid", hex_str, partial_oid); ndr->depth--; diff --git a/librpc/ndr/ndr_drsuapi.c b/librpc/ndr/ndr_drsuapi.c index 999aef98bf..86ecdcb861 100644 --- a/librpc/ndr/ndr_drsuapi.c +++ b/librpc/ndr/ndr_drsuapi.c @@ -76,7 +76,7 @@ _PUBLIC_ void ndr_print_drsuapi_DsReplicaOID(struct ndr_print *ndr, const char * char *partial_oid = NULL; DATA_BLOB oid_blob = data_blob_const(r->binary_oid, r->length); char *hex_str = data_blob_hex_string_upper(ndr, &oid_blob); - ber_read_partial_OID_String(ndr, oid_blob, (const char **)&partial_oid); + ber_read_partial_OID_String(ndr, oid_blob, &partial_oid); ndr->depth++; ndr->print(ndr, "%-25s: 0x%s (%s)", "binary_oid", hex_str, partial_oid); ndr->depth--; |