summaryrefslogtreecommitdiff
path: root/readline-4.3/display.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-21 14:34:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-21 14:34:47 +0000
commit43f2652caae5d8d1f3cdcd56c192f2352c40ac78 (patch)
tree210dd35969b617b4b2284f27b3cb402f4c7edac4 /readline-4.3/display.c
parent51e08ba186ed2b9fca31ba90ab4e60d58f6360ba (diff)
2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* display.c, histexpand.c, terminal.c: Fix warnings. * ChangeLog: New file.
Diffstat (limited to 'readline-4.3/display.c')
-rw-r--r--readline-4.3/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline-4.3/display.c b/readline-4.3/display.c
index 5150ea6..1488036 100644
--- a/readline-4.3/display.c
+++ b/readline-4.3/display.c
@@ -1604,7 +1604,7 @@ _rl_move_cursor_relative (new, data)
}
if (MB_CUR_MAX > 1 && rl_byte_oriented == 0)
- _rl_last_c_pos = _rl_col_width (data, 0, new);
+ _rl_last_c_pos = _rl_col_width ((char *)data, 0, new);
else
_rl_last_c_pos = new;
}