Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix harmless compiler warning. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e2a90ed56e06205a52fbcac9d66b1de5 |
User & Date: | mistachkin 2018-03-17 22:32:44.054 |
Context
2018-03-17
| ||
23:11 | Do no update the display cookie except when the user specifically changes the selectors on the /timeline submenu. ... (check-in: 802939b1 user: drh tags: trunk) | |
22:33 | Merge updates from trunk. ... (Closed-Leaf check-in: 5447bc90 user: mistachkin tags: withMman) | |
22:32 | Fix harmless compiler warning. ... (check-in: e2a90ed5 user: mistachkin tags: trunk) | |
20:52 | Update the custom MinGW makefile. ... (check-in: 853b7c7f user: mistachkin tags: trunk) | |
Changes
Changes to src/util.c.
︙ | ︙ | |||
76 77 78 79 80 81 82 | *piPageSize = (size_t)sysInfo.dwPageSize; #else *piPageSize = 4096; /* FIXME: What for POSIX? */ #endif } void *fossil_secure_alloc_page(size_t *pN){ void *p; | | | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | *piPageSize = (size_t)sysInfo.dwPageSize; #else *piPageSize = 4096; /* FIXME: What for POSIX? */ #endif } void *fossil_secure_alloc_page(size_t *pN){ void *p; size_t pageSize = 0; fossil_get_page_size(&pageSize); assert( pageSize>0 ); assert( pageSize%2==0 ); #if defined(_WIN32) p = VirtualAlloc(NULL, pageSize, MEM_COMMIT|MEM_RESERVE, PAGE_READWRITE); if( p==NULL ){ |
︙ | ︙ |