Mercurial > vim
view ci/setup-xvfb.sh @ 31661:b6044f37d53d v9.0.1163
patch 9.0.1163: compiler warning for implicit size_t/int conversion
Commit: https://github.com/vim/vim/commit/dda3053121abd72f50788d6615163e99c1cfff2b
Author: Mike Williams <mikew@globalgraphics.com>
Date: Mon Jan 9 14:18:13 2023 +0000
patch 9.0.1163: compiler warning for implicit size_t/int conversion
Problem: Compiler warning for implicit size_t/int conversion.
Solution: Add a type cast. (Mike Williams, closes https://github.com/vim/vim/issues/11795)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Jan 2023 15:30:04 +0100 |
parents | 1984a3fcc953 |
children |
line wrap: on
line source
#!/bin/bash set -e apt-get install -y xvfb cat <<EOT >/etc/systemd/system/xvfb.service [Unit] Description=X Virtual Frame Buffer Service After=network.target [Service] ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24 [Install] WantedBy=multi-user.target EOT systemctl enable xvfb.service systemctl start xvfb.service