Skip to content

Commit

Permalink
sctp: fixed build error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed Feb 20, 2017
1 parent 8de5ce4 commit fabe428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inet/common/serializer/sctp/headers/sctphdr.h
Expand Up @@ -395,7 +395,7 @@ struct random_parameter
{
uint16_t type;
uint16_t length;
uint8_t random[];
uint8_t random[0];
} __PACKED__;

struct tlv
Expand All @@ -412,7 +412,7 @@ struct heartbeat_info
uint16_t length;
union
{
uint8_t info[];
uint8_t info[0];
struct
{
union
Expand Down

0 comments on commit fabe428

Please sign in to comment.