1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

debug: remove a cast, which makes the Solaris Studio compiler unhappy

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14526

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Björn Jacke 2020-10-18 20:21:56 +02:00 committed by Andrew Bartlett
parent a223c5b5b7
commit bbfd93f7b6

View File

@ -161,7 +161,7 @@ static const char *default_classname_table[] = {
* system has been initialized.
*/
static struct debug_class debug_class_list_initial[ARRAY_SIZE(default_classname_table)] = {
[DBGC_ALL] = (struct debug_class) { .fd = 2 },
[DBGC_ALL] = { .fd = 2 },
};
static size_t debug_num_classes = 0;