aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraswift <aswift@noemail.net>2008-08-22 18:41:37 +0000
committeraswift <aswift@noemail.net>2008-08-22 18:41:37 +0000
commitf54b1b341bee86b74b2320b5843888b3682799a9 (patch)
tree3ca8002ab837af72119c6b2b7e523cf71ee1b2c6 /src
parentee76c61657900b2452f7f3121300764a78f5b501 (diff)
downloadsqlite-f54b1b341bee86b74b2320b5843888b3682799a9.tar.gz
sqlite-f54b1b341bee86b74b2320b5843888b3682799a9.zip
quieting compiler warning about pointer/int conversion size mismatch (CVS 5602)
FossilOrigin-Name: f8a70501c234545b3030144ac6bcbfaa0d2b0069
Diffstat (limited to 'src')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 37dc49a04..30a63979c 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -12,7 +12,7 @@
**
** This file contains code that is specific to Unix systems.
**
-** $Id: os_unix.c,v 1.197 2008/08/22 00:47:54 drh Exp $
+** $Id: os_unix.c,v 1.198 2008/08/22 18:41:37 aswift Exp $
*/
#include "sqliteInt.h"
#if SQLITE_OS_UNIX /* This file is used on unix only */
@@ -639,7 +639,7 @@ static int detectLockingStyle(
return LOCKING_STYLE_NONE;
}
if( pVfs->pAppData ){
- return (int)pVfs->pAppData;
+ return SQLITE_PTR_TO_INT(pVfs->pAppData);
}
if( statfs(filePath, &fsInfo) != -1 ){