1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Pedantic constness tweak.

FossilOrigin-Name: c8a173cf16d2567bf9b13f52904077a2e7209776c76613c7bff59cd66e24bf11
This commit is contained in:
stephan
2022-10-01 18:55:10 +00:00
parent 3afad4d432
commit f446af57b5
3 changed files with 10 additions and 10 deletions

View File

@ -136,9 +136,9 @@ WASM_KEEP void * sqlite3_wasm_stack_alloc(int n){
*/
static unsigned char PStack_mem[512 * 8] = {0};
static struct {
unsigned char const * pBegin; /* Start (inclusive) of memory range */
unsigned char const * pEnd; /* One-after-the-end of memory range */
unsigned char * pPos; /* Current "stack pointer" */
unsigned const char * const pBegin;/* Start (inclusive) of memory */
unsigned const char * const pEnd; /* One-after-the-end of memory */
unsigned char * pPos; /* Current stack pointer */
} PStack = {
&PStack_mem[0],
&PStack_mem[0] + sizeof(PStack_mem),