From 46e7935d25ffacf352738ea50647d607e5303ba7 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 19 Jul 2005 10:15:10 +0000 Subject: r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a #define) to quieten a warning. Bugzilla #2892. (This used to be commit 4e91f29621d5ab9fa748dd1077f8efd1dab45522) --- source3/rpc_parse/parse_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_parse') diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index c46eef1300..3d586b3779 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/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 ); } -- cgit