summaryrefslogtreecommitdiffstats
path: root/src/c_utils.c
diff options
context:
space:
mode:
authorSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
committerSalad <water_appreciator@protonmail.com>2020-12-04 21:40:49 +0100
commit46f8585e463d1617bb120894afaec7f51cf85153 (patch)
treeed4dc8f3c8a719de3fc54a6c228cfc0fdf2653c9 /src/c_utils.c
parentfix (diff)
download42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.gz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.bz2
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.xz
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.tar.zst
42-minishell-46f8585e463d1617bb120894afaec7f51cf85153.zip
gnu c compiler compatible
Diffstat (limited to 'src/c_utils.c')
-rw-r--r--src/c_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c_utils.c b/src/c_utils.c
index a25a35a..fa2eaaf 100644
--- a/src/c_utils.c
+++ b/src/c_utils.c
@@ -99,7 +99,7 @@ char
return (dst);
}
-static short
+static unsigned int
c_redraw_next(size_t plen, unsigned int len, t_caps *tcaps)
{
unsigned int i;
@@ -129,7 +129,7 @@ static short
return (len);
}
-short
+unsigned int
c_redraw_line(char *line, t_caps *tcaps, t_msh *msh)
{
unsigned int i;