From: Michael Jerris Date: Wed, 5 Apr 2006 00:55:22 +0000 (+0000) Subject: sun cc flexible array members must be defined as [] not [0] X-Git-Tag: v1.0-beta1~2928 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd0669266794cf5f83e8025407b27f4db9d0908b;p=thirdparty%2Ffreeswitch.git sun cc flexible array members must be defined as [] not [0] git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1047 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_stun.h b/src/include/switch_stun.h index 4deae6bc26..0326b3966c 100644 --- a/src/include/switch_stun.h +++ b/src/include/switch_stun.h @@ -105,7 +105,7 @@ typedef struct { typedef struct { int16_t type; uint16_t length; - char value[0]; + char value[]; } switch_stun_packet_attribute_t; typedef struct {