1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r8597: Use UNI_STR_TERMINATE (an enum value) instead of STR_TERMINATE (a

#define) to quieten a warning.  Bugzilla #2892.
This commit is contained in:
Tim Potter 2005-07-19 10:15:10 +00:00 committed by Gerald (Jerry) Carter
parent 0a9395bb48
commit 4e91f29621

View File

@ -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 );
}