Mercurial > vim
comparison src/testdir/test_eval_stuff.vim @ 19477:2bb0e80fcd32 v8.2.0296
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
Commit: https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 22 14:27:04 2020 +0100
patch 8.2.0296: mixing up "long long" and __int64 may cause problems
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Feb 2020 14:30:04 +0100 |
parents | e3848b251a01 |
children | b3e93a05c3ca |
comparison
equal
deleted
inserted
replaced
19476:381e5000c519 | 19477:2bb0e80fcd32 |
---|---|
226 if has('job') | 226 if has('job') |
227 call assert_fails('execute test_null_job()', 'E908:') | 227 call assert_fails('execute test_null_job()', 'E908:') |
228 call assert_fails('execute test_null_channel()', 'E908:') | 228 call assert_fails('execute test_null_channel()', 'E908:') |
229 endif | 229 endif |
230 endfunc | 230 endfunc |
231 | |
232 func Test_numbersize() | |
233 " This will fail on systems without 64 bit int support or when not configured | |
234 " correctly. | |
235 call assert_equal(64, v:numbersize) | |
236 endfunc |