mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-04 06:11:53 +00:00
libsql-sqlite3: Don't use pointer arithmetic
Let's be kind to Windows compiler.
This commit is contained in:
@ -7854,7 +7854,7 @@ int sqlite3PagerWalInsert(Pager *pPager, unsigned int iFrame, void *pBuf, unsign
|
||||
return rc;
|
||||
}
|
||||
int conflict = 0;
|
||||
if (memcmp(pBuf+24, current, frame_len) != 0) {
|
||||
if (memcmp((unsigned char*)pBuf+24, current, frame_len) != 0) {
|
||||
conflict = 1;
|
||||
}
|
||||
if (pConflict) {
|
||||
|
Reference in New Issue
Block a user