aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2025-03-14 20:19:49 +0000
committerdrh <>2025-03-14 20:19:49 +0000
commit01ef1dfc1f147490bcd9dd47f2f41fb18dfcf477 (patch)
treef0b8c565ca8048dae7372e89cf69ee6fc165e34a /src
parentb6e8f65ffe7dccf0c65176ed72241a61bd0d655a (diff)
downloadsqlite-01ef1dfc1f147490bcd9dd47f2f41fb18dfcf477.tar.gz
sqlite-01ef1dfc1f147490bcd9dd47f2f41fb18dfcf477.zip
Use flexible arrays for RTREE.
FossilOrigin-Name: 2b41776179c726586e3ff836edcf235938cf02f7c5e33c1d6954b84d4061b8d5
Diffstat (limited to 'src')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 7b71ace56..35e5b94d7 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -765,7 +765,7 @@
** ourselves.
*/
#ifndef offsetof
-#define offsetof(STRUCTURE,FIELD) ((int)((char*)&((STRUCTURE*)0)->FIELD))
+#define offsetof(STRUCTURE,FIELD) ((size_t)((char*)&((STRUCTURE*)0)->FIELD))
#endif
/*