aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-10-09 23:03:13 -0400
committerJames McCoy <jamessan@jamessan.com>2016-10-11 16:22:24 -0400
commitd545c8e1ce3cd790804ffd1dc40bd04dc0a2a772 (patch)
treebd6664d4fd911456d3f8be1946845c3ee9abd8c6 /src/clint.py
parent44084310862656788a39b53766b1d6fe18995242 (diff)
downloadrneovim-d545c8e1ce3cd790804ffd1dc40bd04dc0a2a772.tar.gz
rneovim-d545c8e1ce3cd790804ffd1dc40bd04dc0a2a772.tar.bz2
rneovim-d545c8e1ce3cd790804ffd1dc40bd04dc0a2a772.zip
window: Fix cmd_with_count's formatting when sizeof(long) != 8
On architectures where `sizeof(long)` != 8, "%" PRId64 will read junk from memory. This was seen on various Debian builds where test/functional/legacy/close_count_spec.lua would fail due to `1<C-w>c` emitting an error like `E488: Trailing characters: close-87944975647104`. Changing the `Prenum` parameter to int64_t ensures it is safe to use `"%" PRId64`, and make another small step towards removal of the use of `long`.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions