From bcf1c3182670f20f4705cfe73e27d1e2e9f8eedf Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 29 Oct 1999 20:24:18 +0000 Subject: rpcclient regenum key client code rewritten to use higher order functions. (This used to be commit 6a759c57dcb851aa19d1d4156249a3df112aefd0) --- source3/lib/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index bd93b01341..1d318c40a1 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -3126,11 +3126,11 @@ void reg_get_subkey(char *full_keyname, char *key_name, char *subkey_name) /***************************************************************** splits out the start of the key (HKLM or HKU) and the rest of the key *****************************************************************/ -BOOL reg_split_key(char *full_keyname, uint32 *reg_type, char *key_name) +BOOL reg_split_key(const char *full_keyname, uint32 *reg_type, char *key_name) { pstring tmp; - if (!next_token(&full_keyname, tmp, "\\", sizeof(tmp))) + if (!next_token((char**)(&full_keyname), tmp, "\\", sizeof(tmp))) { return False; } -- cgit