summaryrefslogtreecommitdiff
path: root/src/flex.skl
diff options
context:
space:
mode:
Diffstat (limited to 'src/flex.skl')
-rw-r--r--src/flex.skl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flex.skl b/src/flex.skl
index 4d75395..a1f6db6 100644
--- a/src/flex.skl
+++ b/src/flex.skl
@@ -3085,7 +3085,7 @@ static int yytbl_read32 (void *v, struct yytbl_reader * rd)
/** Read the header */
static int yytbl_hdr_read YYFARGS2(struct yytbl_hdr *, th, struct yytbl_reader *, rd)
{
- int bytes;
+ size_t bytes;
memset (th, 0, sizeof (struct yytbl_hdr));
if (yytbl_read32 (&(th->th_magic), rd) != 0)
@@ -3138,7 +3138,7 @@ static struct yytbl_dmap *yytbl_dmap_lookup YYFARGS2(struct yytbl_dmap *, dmap,
M4_YY_NOOP_GUTS_VAR();
while (dmap->dm_id)
- if (dmap->dm_id == id)
+ if ((int)(dmap->dm_id) == id)
return dmap;
else
dmap++;