Mercurial > vim
view runtime/indent/testdir/xml.in @ 23454:5e6a5ccf5dcb v8.2.2270
patch 8.2.2270: warning for size_t to int conversion
Commit: https://github.com/vim/vim/commit/38a434f7ba89ab2602019476219780e07fd8251f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 12:45:45 2021 +0100
patch 8.2.2270: warning for size_t to int conversion
Problem: Warning for size_t to int conversion. (Randall W. Morris)
Solution: Add a type cast.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 13:00:05 +0100 |
parents | 8b334e4cb97f |
children | bdda48f01a68 |
line wrap: on
line source
<!-- vim: set ft=xml ts=8 sw=0 sts=-1 et : --> <!-- START_INDENT --> <?xml version="1.0" encoding="utf-8"?> <tag0> <tag1> <!-- comment --> <tag2> <tag3/> </tag2> <!-- text comment --> <!-- text comment --> </tag1> <!-- text comment end coment --> </tag0> <!-- END_INDENT --> <!-- START_INDENT --> <?xml version="1.0" encoding="utf-8"?> <tag0> <tag1> <!-- comment --> <tag2> <tag3/> </tag2> </tag1> </tag0> <!-- END_INDENT -->