summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz PluciƄski <mplucinski@mplucinski.com>2014-07-25 18:07:15 +0200
committerWill Estes <westes575@gmail.com>2014-11-26 13:26:49 -0500
commita13574440bbda9c07e3a4dab5ca187efa0095d64 (patch)
tree617a427604832d48ce18ced76cf0ff7993d52b1f
parent874dd74ceba67c19f0df3bb46b1c216a23f52d2d (diff)
Fix two "signed/unsigned" warnings
-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++;