commit d2d0b1fe8f315352d53ce88e61103488b6430d56
parent 1c806cd3fa394cb79d48da95b43453ff55f695c4
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Tue, 5 Jan 2021 17:09:19 -0800
Fix sign-compare warning when using -Wextra
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -222,7 +222,7 @@ gphsplit(char const **item, int size, char *buf)
}
command *
-get_command(char const *s, const struct command *commands, size_t size)
+get_command(char const *s, const struct command *commands, int size)
{
int i;