John Marriott wrote:
> I have just applied a bunch of patches to my HP-UX (non-gui) build to > bring it up to 8.2.0292 and noticed that the message that is displayed > when a buffer is written isn't right. > > For example (note the number of chars): Try changing the format in msg_add_lines(). Hmm, the problem may be in vim_strnprintf(), it uses "varnumber_T", which is __int64, while the argument is "long long". But some systems don't define "long long" and then it might go wrong. Let's just use varnumber_T for "%lld", then we can drop long_long_T. Hmm, but then the compiler complains for using "%lld" for an int64_t argument. Since we do want to use "%lld" and must have the type equal to varnumber_T, the only sensible solution is to make varnumber_T "long long". I assume this will be 64 bit in most places anyway. -- >From "know your smileys": [:-) Frankenstein's monster /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202002221319.01MDJPU2028192%40masaka.moolenaar.net.
