summaryrefslogtreecommitdiff
path: root/src/tables_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tables_shared.c')
-rw-r--r--src/tables_shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tables_shared.c b/src/tables_shared.c
index 123626c..fca0438 100644
--- a/src/tables_shared.c
+++ b/src/tables_shared.c
@@ -57,7 +57,7 @@ dnl
*/
yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl)
{
- flex_int32_t n;
+ flex_uint32_t n;
/* total number of ints */
n = tbl->td_lolen;
@@ -66,5 +66,5 @@ yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl)
if (tbl->td_id == YYTD_ID_TRANSITION)
n *= 2;
- return n;
+ return (flex_int32_t) n;
}