From 4e91f29621d5ab9fa748dd1077f8efd1dab45522 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 19 Jul 2005 10:15:10 +0000 Subject: [PATCH] r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a #define) to quieten a warning. Bugzilla #2892. --- source/rpc_parse/parse_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpc_parse/parse_reg.c b/source/rpc_parse/parse_reg.c index c46eef13003..3d586b3779f 100644 --- a/source/rpc_parse/parse_reg.c +++ b/source/rpc_parse/parse_reg.c @@ -1311,7 +1311,7 @@ void init_reg_r_enum_key(REG_R_ENUM_KEY *r_u, char *subkey ) if ( !r_u ) return; - init_unistr4( &r_u->keyname, subkey, STR_TERMINATE ); + init_unistr4( &r_u->keyname, subkey, UNI_STR_TERMINATE ); r_u->classname = TALLOC_ZERO_P( get_talloc_ctx(), UNISTR4 ); r_u->time = TALLOC_ZERO_P( get_talloc_ctx(), NTTIME ); }