mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
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:
parent
8107831a2b
commit
7ba0f15f80
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue