summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_drsuapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/ndr/ndr_drsuapi.c')
-rw-r--r--librpc/ndr/ndr_drsuapi.c2
1 files changed, 1 insertions, 1 deletions
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--;