diff options
author | Tim Potter <tpot@samba.org> | 2005-07-19 10:15:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:12 -0500 |
commit | 46e7935d25ffacf352738ea50647d607e5303ba7 (patch) | |
tree | 806660acdf8eda907bace60eef8eb011c08b7d0d /source3 | |
parent | 982bc5f569c04a9fefa8be52915be8803a0c953a (diff) | |
download | samba-46e7935d25ffacf352738ea50647d607e5303ba7.tar.gz samba-46e7935d25ffacf352738ea50647d607e5303ba7.tar.bz2 samba-46e7935d25ffacf352738ea50647d607e5303ba7.zip |
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)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_parse/parse_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); } |