Commit 97d2850af13c339369093b78abe5265845d78220

antirez 2020-03-12T15:51:45

Use unsigned int instead of uint like rest of code base.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/linenoise.c b/linenoise.c
index ade4dea..cfe51e7 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -598,7 +598,7 @@ static void refreshMultiLine(struct linenoiseState *l) {
     /* Write the prompt and the current buffer content */
     abAppend(&ab,l->prompt,strlen(l->prompt));
     if (maskmode == 1) {
-        uint i;
+        unsigned int i;
         for (i = 0; i < l->len; i++) abAppend(&ab,"*",1);
     } else {
         abAppend(&ab,l->buf,l->len);