]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix fr_machine_s
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 19 Aug 2021 13:14:56 +0000 (08:14 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 19 Aug 2021 13:14:56 +0000 (08:14 -0500)
src/lib/util/machine.c

index 64bd9c1790896ed04204f8fca74f12d26595e017..8ff241d0765ed27e9eb7246c68a5d3ff86a2dd5d 100644 (file)
@@ -44,7 +44,7 @@ struct fr_machine_s {
        int                     paused;         //!< are transitions paused?
        bool                    dead;
 
-       fr_machine_state_inst_t state[0];       //!< all of the state transitions
+       fr_machine_state_inst_t state[];        //!< all of the state transitions
 };
 
 typedef struct {