Skip to content
Snippets Groups Projects
Commit 7ba0f15f authored by Yorhel's avatar Yorhel
Browse files

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.
parent 8107831a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment