15
0
forked from pool/python-apsw
Pascal Bleser
2010-08-09 15:46:18 +00:00
committed by Git OBS Bridge
commit 371609c26c
7 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
--- sqlite3.c.orig 2010-08-09 17:30:07.000000000 +0200
+++ sqlite3.c 2010-08-09 17:30:56.000000000 +0200
@@ -570,6 +570,8 @@
#define _SQLITE3_H_
#include <stdarg.h> /* Needed for the definition of va_list */
+#include <stdint.h> /* Needed for intptr_t */
+
/*
** Make sure we can call this stuff from C++.
*/
@@ -117745,7 +117747,7 @@
Rtree *pRtree;
int nDb; /* Length of string argv[1] */
int nName; /* Length of string argv[2] */
- int eCoordType = (int)pAux;
+ intptr_t eCoordType = (intptr_t)pAux;
const char *aErrMsg[] = {
0, /* 0 */