]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0041: xxd -i may generate incorrect C statements v9.1.0041
authorKuratius <Kuratius@gmx.net>
Wed, 17 Jan 2024 17:37:32 +0000 (18:37 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 17 Jan 2024 21:34:51 +0000 (22:34 +0100)
commit7062be13129985fe297b9a8e59c57b8f0db61b8f
treea4f821166233308a2f218936ccda0f2d203621c8
parentf942db25571e64d413048fcfd9719fdf63a516c6
patch 9.1.0041: xxd -i may generate incorrect C statements

Problem:  xxd -i may generate incorrect C statements
          (Kuratius)
Solution: xxd: Make size type returned by -i option compatible
          with C standard by using type size_t instead of
          unsigned int (Kuratius)

Also change affected tests to now correctly expect size_t's

fixes: #13876
closes: #13880

Signed-off-by: Kuratius <Kuratius@gmx.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_xxd.vim
src/version.c
src/xxd/xxd.c