delete.c: Fix signedness issue in confirmation selection

'char' may be unsigned on some architectures, which will cause the
"overflow check" on decrement to fail.

This would at most result in a confusing UI issue where no confirmation
option appears to be selected.
This commit is contained in:
Yorhel 2018-01-29 11:56:37 +01:00
parent 8107831a2b
commit 7ba0f15f80

View file

@ -37,7 +37,8 @@
static struct dir *root, *nextsel, *curdir;
static char noconfirm = 0, ignoreerr = 0, state, seloption;
static char noconfirm = 0, ignoreerr = 0, state;
static signed char seloption;
static int lasterrno;