summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/src/os_unix.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-09-10 15:17:46 +0000
committerkrw <krw@openbsd.org>2013-09-10 15:17:46 +0000
commiteafadddf078952db5decce95861fc9710553e455 (patch)
tree3455f5041bee258ed25acc940d6c3ec7996968a3 /lib/libsqlite3/src/os_unix.c
parentMake splassert for IPL_NONE fail, if we're in interrupt context. (diff)
downloadwireguard-openbsd-eafadddf078952db5decce95861fc9710553e455.tar.xz
wireguard-openbsd-eafadddf078952db5decce95861fc9710553e455.zip
The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a.
DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk sector addresses) are u_int64_t. The values stored in disklabels are counts of possibly other-sized blocks and hence should be handled with u_int64_t variables. Start enforcing this rule. No intended functional change. Rule strongly suggested by deraadt@
Diffstat (limited to 'lib/libsqlite3/src/os_unix.c')
0 files changed, 0 insertions, 0 deletions