forked from pool/python-apsw
3.7.0.1-r1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apsw?expand=0&rev=1
This commit is contained in:
20
sqlite-fix_pointer_casts.patch
Normal file
20
sqlite-fix_pointer_casts.patch
Normal 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 */
|
||||
Reference in New Issue
Block a user