summaryrefslogtreecommitdiff
path: root/readline/display.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-08-21 23:31:33 +0300
committerunknown <monty@hundin.mysql.fi>2002-08-21 23:31:33 +0300
commit656da11b9163261ab661f1c22c16758e7b5482a6 (patch)
tree9ded9399004e592a31fb8cd0f72e01e53ccf3301 /readline/display.c
parent7ba2adcc0184aaa72ec284de6930f0ae0c72852c (diff)
downloadmariadb-git-656da11b9163261ab661f1c22c16758e7b5482a6.tar.gz
Portability fix.
mysys/thr_alarm.c: Fixed portability problem with thr_alarm.c readline/display.c: Removed compiler warning sql/net_serv.cc: Added DBUG_ENTER in net_clear.
Diffstat (limited to 'readline/display.c')
-rw-r--r--readline/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/display.c b/readline/display.c
index e21af1f472d..df9e212ac0c 100644
--- a/readline/display.c
+++ b/readline/display.c
@@ -623,7 +623,7 @@ rl_redisplay ()
_rl_move_vert (linenum);
_rl_move_cursor_relative (0, tt);
_rl_clear_to_eol
- ((linenum == _rl_vis_botlin) ? strlen (tt) : screenwidth);
+ ((linenum == _rl_vis_botlin) ? (int) strlen (tt) : screenwidth);
}
}
_rl_vis_botlin = inv_botlin;