From: John Millaway Date: Sun, 12 Jan 2003 03:30:45 +0000 (+0000) Subject: Fixed table deserialization bug on big-endian archs. Patch sent from Bryce Nichols... X-Git-Tag: flex-2-5-26~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45005efe8171819dc32895b8d6f3cf6320764c09;p=flex Fixed table deserialization bug on big-endian archs. Patch sent from Bryce Nichols . --- diff --git a/tables_shared.h b/tables_shared.h index 9676d47..bbf9910 100644 --- a/tables_shared.h +++ b/tables_shared.h @@ -115,7 +115,7 @@ struct yytbl_hdr { /** A single serialized table */ struct yytbl_data { - enum yytbl_id td_id; /**< flex_uint16_t table identifier */ + flex_uint16_t td_id; /**< enum yytbl_id table identifier */ flex_uint16_t td_flags; /**< how to interpret this data */ flex_uint32_t td_hilen; /**< num elements in highest dimension array */ flex_uint32_t td_lolen; /**< num elements in lowest dimension array */