Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Lemon: Fixed compiler warning on Visual C++. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | lemon-update-2010 |
Files: | files | file ages | folders |
SHA1: |
892c5f377a983fb440f421b08864780d |
User & Date: | icculus 2010-11-19 04:22:05.000 |
Context
2010-11-19
| ||
04:22 | Lemon: Fixed compiler warning on Visual C++. (Closed-Leaf check-in: 892c5f377a user: icculus tags: lemon-update-2010) | |
04:19 |
Lemon: correcting previous win32 access() fix.
The previous fix caused link errors when compiled as C++. (check-in: bd03d3331d user: icculus tags: lemon-update-2010) | |
Changes
Changes to tool/lemon.c.
︙ | ︙ | |||
3245 3246 3247 3248 3249 3250 3251 | if( n<=0 ){ if( n<0 ){ used += n; assert( used>=0 ); } n = lemonStrlen(zText); } | | | 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 | if( n<=0 ){ if( n<0 ){ used += n; assert( used>=0 ); } n = lemonStrlen(zText); } if( (int) (n+sizeof(zInt)*2+used) >= alloced ){ alloced = n + sizeof(zInt)*2 + used + 200; z = (char *) realloc(z, alloced); } if( z==0 ) return empty; while( n-- > 0 ){ c = *(zText++); if( c=='%' && n>0 && zText[0]=='d' ){ |
︙ | ︙ |