aboutsummaryrefslogtreecommitdiff
path: root/src/str/ft_strtoupper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/str/ft_strtoupper.c')
-rw-r--r--src/str/ft_strtoupper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/str/ft_strtoupper.c b/src/str/ft_strtoupper.c
index 07c19e5..4a751d3 100644
--- a/src/str/ft_strtoupper.c
+++ b/src/str/ft_strtoupper.c
@@ -6,14 +6,14 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/10 04:12:04 by cacharle #+# #+# */
-/* Updated: 2020/02/10 05:05:38 by cacharle ### ########.fr */
+/* Updated: 2020/02/14 02:49:35 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft_str.h"
#include "libft_ctype.h"
-char *ft_strtolower(char *s)
+char *ft_strtoupper(char *s)
{
int i;
@@ -21,6 +21,6 @@ char *ft_strtolower(char *s)
return (NULL);
i = -1;
while (s[i])
- s[i] = ft_tolower(s[i]);
+ s[i] = ft_toupper(s[i]);
return (s);
}