Ticket #30065: heimdal-1.3.3-sqlite3-gcc-llvm.patch

File heimdal-1.3.3-sqlite3-gcc-llvm.patch, 381 bytes (added by christopher.owen@…, 13 years ago)

heimdal-1.3.3 patch to compile with gcc-llvm

  • sqlite3.c

    old new  
    330330 * requires the #include of specific headers which differs between
    331331 * platforms.
    332332 */
    333 #define SQLITE_INT_TO_PTR(X)   ((void*)&((char*)0)[X])
     333#define SQLITE_INT_TO_PTR(X)   ((void*)(X))
    334334#define SQLITE_PTR_TO_INT(X)   ((int)(((char*)X)-(char*)0))
    335335
    336336/*