Skip to content
Snippets Groups Projects
Commit ef6b1fea authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Can't put a flexible array member in a union... add another anonymous struct layer.

parent cedc1139
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -69,7 +69,9 @@ typedef struct sftp_tx_pkt {
uint8_t type;
uint8_t data[];
};
uint8_t tdata[];
struct {
uint8_t tdata[];
};
};
} *sftp_tx_pkt_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment