1
1

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.
Этот коммит содержится в:
Yorhel 2018-01-29 11:56:37 +01:00
родитель 8107831a2b
Коммит 7ba0f15f80

Просмотреть файл

@ -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;