aboutsummaryrefslogtreecommitdiff
path: root/ext/ota/sqlite3ota.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ota/sqlite3ota.c')
-rw-r--r--ext/ota/sqlite3ota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ota/sqlite3ota.c b/ext/ota/sqlite3ota.c
index 9f74e561d..fb798b760 100644
--- a/ext/ota/sqlite3ota.c
+++ b/ext/ota/sqlite3ota.c
@@ -2443,7 +2443,7 @@ int sqlite3ota_step(sqlite3ota *p){
void volatile *ptr;
p->rc = pDb->pMethods->xShmMap(pDb, 0, 32*1024, 0, &ptr);
if( p->rc==SQLITE_OK ){
- ((u32*)ptr)[12] = p->iMaxFrame;
+ ((u32 volatile*)ptr)[24] = p->iMaxFrame;
}
}