/ Check-in [83495128]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed compiler warning on Visual Studio.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | lemon-update-2010
Files: files | file ages | folders
SHA1:83495128c820e963c70d11c3196f81d8cf01f867
User & Date: icculus 2010-03-03 17:09:01
Context
2010-11-19
03:55
Lemon: Patched to compile with Visual Studio. check-in: 0b945101 user: icculus tags: lemon-update-2010
2010-03-03
22:43
Pull the latest Lemon updates from the lemon-update-2010 branch into the trunk. check-in: 84d760bf user: drh tags: trunk
17:09
Fixed compiler warning on Visual Studio. check-in: 83495128 user: icculus tags: lemon-update-2010
17:06
Whoops, that shouldn't have been in the merge. Removed buggy code. check-in: 64372800 user: icculus tags: lemon-update-2010
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/lemon.c.

   394    394     if( rc==0 ){
   395    395       rc = (int)ap1->type - (int)ap2->type;
   396    396     }
   397    397     if( rc==0 && ap1->type==REDUCE ){
   398    398       rc = ap1->x.rp->index - ap2->x.rp->index;
   399    399     }
   400    400     if( rc==0 ){
   401         -    rc = ap2 - ap1;
          401  +    rc = (int) (ap2 - ap1);
   402    402     }
   403    403     return rc;
   404    404   }
   405    405   
   406    406   /* Sort parser actions */
   407    407   static struct action *Action_sort(
   408    408     struct action *ap