diff options
Diffstat (limited to 'src/c_init.c')
-rw-r--r-- | src/c_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_init.c b/src/c_init.c index 1023ced..1cc31b0 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -127,7 +127,7 @@ short tputs(tgetstr("cr", NULL), 1, ft_putchar); m_prompt_psx(psx, msh); ft_bzero(nread, 5); - tcaps.plen = m_plen(msh->ps[psx - 1]); + tcaps.plen = (unsigned int)m_plen(msh->ps[psx - 1]); tcaps.plen += (psx != 1); if (!(c_get_win_size(&tcaps.ws))) return (-1); |