diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 17:42:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 17:42:23 +0200 |
commit | 9a0c404d5f71f1592c6eaeb9119abc6e3756e525 (patch) | |
tree | e82fb4901879bc52426a0a469301aac8f8cb0450 | |
parent | f39a71817ead331b664bc658ac26dec4ec3b75bc (diff) | |
download | busybox-w32-9a0c404d5f71f1592c6eaeb9119abc6e3756e525.tar.gz busybox-w32-9a0c404d5f71f1592c6eaeb9119abc6e3756e525.tar.bz2 busybox-w32-9a0c404d5f71f1592c6eaeb9119abc6e3756e525.zip |
vi: placate "warning: shifting a negative signed value is undefined"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index f8fab7028..51dfc1209 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -3490,7 +3490,7 @@ static void do_cmd(int c) | |||
3490 | } while (--cmdcnt > 0); | 3490 | } while (--cmdcnt > 0); |
3491 | break; | 3491 | break; |
3492 | case '{': // {- move backward paragraph | 3492 | case '{': // {- move backward paragraph |
3493 | q = char_search(dot, "\n\n", (BACK << 1) | FULL); | 3493 | q = char_search(dot, "\n\n", ((unsigned)BACK << 1) | FULL); |
3494 | if (q != NULL) { // found blank line | 3494 | if (q != NULL) { // found blank line |
3495 | dot = next_line(q); // move to next blank line | 3495 | dot = next_line(q); // move to next blank line |
3496 | } | 3496 | } |