projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39a718
)
vi: placate "warning: shifting a negative signed value is undefined"
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Oct 2019 15:42:23 +0000
(17:42 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 25 Oct 2019 15:42:23 +0000
(17:42 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index f8fab7028801a529fc95711ef2a00ef141a2c851..51dfc120924b8f4826d3b340fad5b06e9b11d289 100644
(file)
--- a/
editors/vi.c
+++ b/
editors/vi.c
@@
-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
}