diff options
author | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
commit | 0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c (patch) | |
tree | bbe20184d5104c1489cb84815f2f27dc4437be08 /tools/mhmake/src/bison.cc | |
parent | 0540eb5a1f795c0f5265d244ec979b8ddfcf3acb (diff) | |
download | vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.gz vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.bz2 vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.zip |
Added 64-bit compilation
Removed autodep optimisation.
Diffstat (limited to 'tools/mhmake/src/bison.cc')
-rw-r--r-- | tools/mhmake/src/bison.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mhmake/src/bison.cc b/tools/mhmake/src/bison.cc index bb15365b6..e0315efd4 100644 --- a/tools/mhmake/src/bison.cc +++ b/tools/mhmake/src/bison.cc @@ -503,7 +503,7 @@ int YY_@_DEBUG_FLAG; /* nonzero means print parse trace in available built-in functions on various systems. */
#ifdef __cplusplus
-static void __yy_bcopy (char *from, char *to, int count)
+static void __yy_bcopy (char *from, char *to, size_t count)
#else
#ifdef __STDC__
static void __yy_bcopy (char *from, char *to, int count)
@@ -517,7 +517,7 @@ static void __yy_bcopy (from, to, count) {
register char *f = from;
register char *t = to;
- register int i = count;
+ register size_t i = count;
while (i-- > 0)
*t++ = *f++;
@@ -618,7 +618,7 @@ YYLABEL(yynewstate) #endif
/* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
+ size_t size = yyssp - yyss + 1;
#ifdef yyoverflow
/* Each stack pointer address is followed by the size of
@@ -884,7 +884,7 @@ YYLABEL(yyerrlab) /* here on detecting error */ if (yyn > YYFLAG && yyn < YYLAST)
{
- int size = 0;
+ size_t size = 0;
char *msg;
int x, count;
|