diff options
-rw-r--r-- | source4/librpc/ndr/ndr_basic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 1bccead269..70fd0b34a4 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -1198,7 +1198,7 @@ NTSTATUS GUID_from_string(const char *s, struct GUID *guid) /* its useful to be able to display these in debugging messages */ -const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) +char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) { return talloc_asprintf(mem_ctx, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", @@ -1211,7 +1211,7 @@ const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) guid->node[4], guid->node[5]); } -const char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid) +char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid) { return talloc_asprintf(mem_ctx, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", |