Skip to content

Commit

Permalink
Fix 64-bit declaration for sqlite3_backup_init
Browse files Browse the repository at this point in the history
Pointed out by @jikosan in #2
  • Loading branch information
govert authored May 30, 2019
1 parent a4d1eeb commit 8f233e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SQLite3VBAModules/Sqlite3_64.bas
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Private Declare PtrSafe Function sqlite3_clear_bindings Lib "SQLite3" (ByVal hSt

'Backup
Private Declare PtrSafe Function sqlite3_sleep Lib "SQLite3" (ByVal msToSleep As Long) As Long
Private Declare PtrSafe Function sqlite3_backup_init Lib "SQLite3" (ByVal hDbDest As LongPtr, ByVal zDestName As LongPtr, ByVal hDbSource As LongPtr, ByVal zSourceName As LongPtr) As Long
Private Declare PtrSafe Function sqlite3_backup_init Lib "SQLite3" (ByVal hDbDest As LongPtr, ByVal zDestName As LongPtr, ByVal hDbSource As LongPtr, ByVal zSourceName As LongPtr) As LongPtr
Private Declare PtrSafe Function sqlite3_backup_step Lib "SQLite3" (ByVal hBackup As LongPtr, ByVal nPage As Long) As Long
Private Declare PtrSafe Function sqlite3_backup_finish Lib "SQLite3" (ByVal hBackup As LongPtr) As Long
Private Declare PtrSafe Function sqlite3_backup_remaining Lib "SQLite3" (ByVal hBackup As LongPtr) As Long
Expand Down

0 comments on commit 8f233e6

Please sign in to comment.