Mercurial > vim
view runtime/keymap/hebrew.vim @ 29425:722a50132db9 v9.0.0054
patch 9.0.0054: compiler warning for size_t to int conversion
Commit: https://github.com/vim/vim/commit/c7bd2f08e531f08723cdc677212a3633d11c9a97
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 15 20:45:20 2022 +0100
patch 9.0.0054: compiler warning for size_t to int conversion
Problem: Compiler warning for size_t to int conversion.
Solution: Add type cast. (Mike Williams, closes https://github.com/vim/vim/issues/10741)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 15 Jul 2022 22:00:06 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrew_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrew_cp1255.vim else source <sfile>:p:h/hebrew_iso-8859-8.vim endif