summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-03 17:28:09 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-03 17:28:09 +0100
commit517cf2dd5b1cb7314a215f32b9b5470eefae540f (patch)
tree2b5f151fd751232f4f0902ecfdf7a14c4ff70dd2 /src/c_init.c
parentuhhhhhhhhh (diff)
download42-minishell-517cf2dd5b1cb7314a215f32b9b5470eefae540f.tar.gz
42-minishell-517cf2dd5b1cb7314a215f32b9b5470eefae540f.tar.bz2
42-minishell-517cf2dd5b1cb7314a215f32b9b5470eefae540f.tar.xz
42-minishell-517cf2dd5b1cb7314a215f32b9b5470eefae540f.tar.zst
42-minishell-517cf2dd5b1cb7314a215f32b9b5470eefae540f.zip
plen fixed
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c2
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);