mirror of
https://github.com/vim/vim.git
synced 2025-11-08 10:27:32 -05:00
patch 8.2.2922: computing array length is done in various ways
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
|
||||
#if defined(FEAT_CRYPT) || defined(PROTO)
|
||||
|
||||
#define ARRAY_LENGTH(A) (sizeof(A)/sizeof(A[0]))
|
||||
|
||||
#define BF_BLOCK 8
|
||||
#define BF_BLOCK_MASK 7
|
||||
#define BF_MAX_CFB_LEN (8 * BF_BLOCK)
|
||||
|
||||
Reference in New Issue
Block a user