aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/manpages/ja/vim-ja.1
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-12-21 12:36:16 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-12-24 20:00:04 +0100
commitd2745a59f830b1671c8951ba2a52c2f153191932 (patch)
tree8140acb941ead1c3de227e637a186f4213ef21bb /runtime/doc/manpages/ja/vim-ja.1
parent59985523b851fe61b62afcef69f4564f064cbc0a (diff)
downloadrneovim-d2745a59f830b1671c8951ba2a52c2f153191932.tar.gz
rneovim-d2745a59f830b1671c8951ba2a52c2f153191932.tar.bz2
rneovim-d2745a59f830b1671c8951ba2a52c2f153191932.zip
Remove long_u: put_bytes(): Refactor.
Remove all long_u instances due to put_bytes() function. First, function signature is changed this way: - nr : long_u --> uintmax_t uintmax_t is chosen so that invocations can use any unsigned integer type (including size_t) without needing to cast. - len : int --> unsigned int This is to pass the size in bytes of the previous param, thus an unsigned int is enough. All invocations use positive integer literals, so change is safe without the need for casts. Then, function implementation is adapted accordingly. Last, all invocation points are refactored this way: - Refactor types to minimize casts. - Inline declarations (C99 style) in containing function. All this changes were done with -Wconversion temporarily activated for spell.c and undo.c, so that we can assert changes are type-safe and do not introduce any warnings to that respect.
Diffstat (limited to 'runtime/doc/manpages/ja/vim-ja.1')
0 files changed, 0 insertions, 0 deletions