Skip to content

Commit 916dd79

Browse files
committedMar 12, 2020
Update linenoise.
1 parent c0c67c9 commit 916dd79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎deps/linenoise/linenoise.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,8 @@ static void refreshMultiLine(struct linenoiseState *l) {
598598
/* Write the prompt and the current buffer content */
599599
abAppend(&ab,l->prompt,strlen(l->prompt));
600600
if (maskmode == 1) {
601-
for (uint i = 0; i < l->len; i++) abAppend(&ab,"*",1);
601+
unsigned int i;
602+
for (i = 0; i < l->len; i++) abAppend(&ab,"*",1);
602603
} else {
603604
abAppend(&ab,l->buf,l->len);
604605
}

0 commit comments

Comments
 (0)