Fix -Wzero-length-array

This commit is contained in:
David Tolnay committed 2015-08-16 09:11:23 -07:00
1 parent eb2fc1d27e
commit ec7c3cf9a7
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ struct frame {
stack_ptr env; // jq stack address of frame to return to
stack_ptr retdata; // jq stack address to unwind to on RET
uint16_t* retaddr; // jq bytecode return address
union frame_entry entries[0]; // nclosures + nlocals
union frame_entry entries[]; // nclosures + nlocals
};
static int frame_size(struct bytecode* bc) {