[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
signed < unsigned
From: |
Akim Demaille |
Subject: |
signed < unsigned |
Date: |
18 Jul 2001 12:06:58 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor) |
Thanks, applied.
Index: ChangeLog
from Pascal Bart <address@hidden>
* src/bison.simple (yyparse): Suppress warning `comparaison between
signed and unsigned'.
Index: src/bison.simple
===================================================================
RCS file: /cvs/bison/src/bison.simple,v
retrieving revision 1.48
diff -u -u -r1.48 bison.simple
--- src/bison.simple 2000/12/19 14:51:24 1.48
+++ src/bison.simple 2001/07/18 10:06:17
@@ -672,7 +672,7 @@
count = 0;
/* Start X at -yyn if nec to avoid negative indexes in yycheck. */
for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof (yytname) / sizeof (char *)); x++)
+ x < (int) (sizeof (yytname) / sizeof (char *)); x++)
if (yycheck[x + yyn] == x)
size += strlen (yytname[x]) + 15, count++;
size += strlen ("parse error, unexpected `") + 1;
@@ -688,7 +688,7 @@
{
count = 0;
for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof (yytname) / sizeof (char *)); x++)
+ x < (int) (sizeof (yytname) / sizeof (char *)); x++)
if (yycheck[x + yyn] == x)
{
strcat (msg, count == 0 ? ", expecting `" : " or `");
- signed < unsigned,
Akim Demaille <=