1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix assert typo.

FossilOrigin-Name: 3aedf818c1cfc88ee1103abd8b20e787f6be1bcc4c9350963f0cd52f5ac04154
This commit is contained in:
larrybr
2021-03-16 07:06:29 +00:00
parent b0f23784f6
commit 67d4bbf6c1
3 changed files with 8 additions and 8 deletions

View File

@ -221,7 +221,7 @@ static const sqlite3_io_methods apnd_io_methods = {
** Close an apnd-file.
*/
static int apndClose(sqlite3_file *pFile){
assert((ApndFile *pFile)pFile == ORIGFILE(pFile));
assert((ApndFile*)pFile == ORIGFILE(pFile));
pFile = ORIGFILE(pFile);
return pFile->pMethods->xClose(pFile);
}