all repos — slstatus @ 34010907a6fdcb2b3fbd09eb06740e5f9f8d1e4f

my build of slstatus (tools.suckless.org/slstatus/)

volume: Cast SOUND_MIXER_READ_DEVMASK to int to avoid warning.
parazyd parazyd@dyne.org
Wed, 02 May 2018 11:38:27 +0200
commit

34010907a6fdcb2b3fbd09eb06740e5f9f8d1e4f

parent

f7a6d6c8f7d621fe7b5a9c37a130f8bf3b9bd892

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M components/volume.ccomponents/volume.c

@@ -26,7 +26,7 @@ fprintf(stderr, "open '%s': %s\n", card, strerror(errno));

return NULL; } - if (ioctl(afd, SOUND_MIXER_READ_DEVMASK, &devmask) == -1) { + if (ioctl(afd, (int)SOUND_MIXER_READ_DEVMASK, &devmask) == -1) { fprintf(stderr, "ioctl 'SOUND_MIXER_READ_DEVMASK': %s\n", strerror(errno)); close(afd); return NULL;