1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Fix a typecast problem in lemon that could cause problems on 64-bit machines.

FossilOrigin-Name: 4a5641cc0aa4c49762f4fe73dab4a6612631c0d2
This commit is contained in:
drh
2012-04-18 09:59:56 +00:00
parent 374fdce485
commit d25d692252
3 changed files with 8 additions and 8 deletions

View File

@ -1546,7 +1546,7 @@ int main(int argc, char **argv)
/*
** Return a pointer to the next structure in the linked list.
*/
#define NEXT(A) (*(char**)(((unsigned long)A)+offset))
#define NEXT(A) (*(char**)(((char*)A)+offset))
/*
** Inputs: