summaryrefslogtreecommitdiff
path: root/source3/libsmb/clifile.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/clifile.c')
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 20babbd782..b40f7d15d9 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -4071,7 +4071,7 @@ static NTSTATUS cli_set_ea(struct cli_state *cli, uint16_t setup_val,
const char *ea_name,
const char *ea_val, size_t ea_len)
{
- uint16_t setup[0];
+ uint16_t setup[1];
unsigned int data_len = 0;
uint8_t *data = NULL;
char *p;