summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index f8fab70..51dfc12 100644
--- 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
}