From a13574440bbda9c07e3a4dab5ca187efa0095d64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mariusz=20Pluci=C5=84ski?= Date: Fri, 25 Jul 2014 18:07:15 +0200 Subject: [PATCH] Fix two "signed/unsigned" warnings --- src/flex.skl | 4 ++-- 1 file 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++; -- 2.40.0