clang: fix `-Wconstant-conversion` warning
commitce299bbee9d23dbd87ee6b3885215baabbc218fa
authorYury V. Zaytsev <yury@shurup.com>
Thu, 30 May 2024 19:09:12 +0000 (30 21:09 +0200)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 2 Jun 2024 09:49:13 +0000 (2 12:49 +0300)
tree25f7c6bf275ed7e30ef8a87cd3c0afadc607f590
parentde06f36ccf3ef0be865729bb049e251b039be67a
clang: fix `-Wconstant-conversion` warning

../../../src/filemanager/filegui.c:1413:35: warning: implicit conversion from 'int' to 'mode_t' (aka 'unsigned short') changes value from 262143 to 65535 [-Wconstant-conversion]
                ctx->umask_kill = 0777777;
                                ~ ^~~~~~~

../../../src/filemanager/fileopctx.c:81:23: warning: implicit conversion from 'int' to 'mode_t' (aka 'unsigned short') changes value from 262143 to 65535 [-Wconstant-conversion]
    ctx->umask_kill = 0777777;
                    ~ ^~~~~~~

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/filegui.c
src/filemanager/fileopctx.c