mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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:
parent
0a9395bb48
commit
4e91f29621
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user