Mercurial > vim
annotate ci/load-snd-dummy.sh @ 20555:eedaa9a30ab4 v8.2.0831
patch 8.2.0831: compiler warnings for integer sizes
Commit: https://github.com/vim/vim/commit/f4b68e9056f8ddb64c3d7141df138fe099575abf
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 27 21:22:14 2020 +0200
patch 8.2.0831: compiler warnings for integer sizes
Problem: Compiler warnings for integer sizes.
Solution: Add type casts. (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 27 May 2020 21:30:04 +0200 |
parents | c94c103e7cb4 |
children | 3a7017ee1161 |
rev | line source |
---|---|
19722
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 #!/bin/bash |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 set -e |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 if ! modprobe snd-dummy; then |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 # snd-dummy is contained in linux-modules-extra (if exists) |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 apt install -y "linux-modules-extra-$(uname -r)" |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 modprobe snd-dummy |
c94c103e7cb4
patch 8.2.0417: Travis CI config can be improved
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 fi |