Make build on windows

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Asanka Herath
2009-11-25 02:15:29 +01:00
committed by Love Hornquist Astrand
parent e0a6ee793b
commit 20c26609da
2 changed files with 48 additions and 1 deletions

View File

@@ -455,7 +455,7 @@ ceol(void)
static void
clear_line(void)
{
Point = -strlen(Prompt);
Point = -(int)strlen(Prompt);
TTYput('\r');
ceol();
Point = 0;