mirror of
https://git.busybox.net/busybox.git
synced 2024-11-23 13:43:28 +08:00
vi: placate "warning: shifting a negative signed value is undefined"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f39a71817e
commit
9a0c404d5f
@ -3490,7 +3490,7 @@ static void do_cmd(int c)
|
||||
} while (--cmdcnt > 0);
|
||||
break;
|
||||
case '{': // {- move backward paragraph
|
||||
q = char_search(dot, "\n\n", (BACK << 1) | FULL);
|
||||
q = char_search(dot, "\n\n", ((unsigned)BACK << 1) | FULL);
|
||||
if (q != NULL) { // found blank line
|
||||
dot = next_line(q); // move to next blank line
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user