aboutsummaryrefslogtreecommitdiff
path: root/src/mem2.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2021-10-12 02:26:32 +0000
committermistachkin <mistachkin@noemail.net>2021-10-12 02:26:32 +0000
commit04f1b691f2a082454487025867adb9da1d6d003f (patch)
tree75ae315f3735577ea2c5cca39da774eb2ac3032e /src/mem2.c
parent77978a64f4b2ff33fa5255db88325759968cb1e9 (diff)
downloadsqlite-04f1b691f2a082454487025867adb9da1d6d003f.tar.gz
sqlite-04f1b691f2a082454487025867adb9da1d6d003f.zip
Fix another harmless compiler warning for MSVC.
FossilOrigin-Name: b54c0db0fd686b85269cf4c301c9b483c5272269d0cd69a1c7141a91101192f0
Diffstat (limited to 'src/mem2.c')
-rw-r--r--src/mem2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem2.c b/src/mem2.c
index 4ecbd8005..04d6298db 100644
--- a/src/mem2.c
+++ b/src/mem2.c
@@ -149,7 +149,7 @@ static void adjustStats(int iSize, int increment){
** This routine checks the guards at either end of the allocation and
** if they are incorrect it asserts.
*/
-static struct MemBlockHdr *sqlite3MemsysGetHeader(void *pAllocation){
+static struct MemBlockHdr *sqlite3MemsysGetHeader(const void *pAllocation){
struct MemBlockHdr *p;
int *pInt;
u8 *pU8;