From: Lukas Jiriste Date: Tue, 19 Mar 2024 10:30:21 +0000 (+0100) Subject: Add parantheses around return value X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=7235c8247a21808daeed8e11ac5d8310d6e72c5c;p=42%2Fphilosophers_old.git Add parantheses around return value --- diff --git a/philo/main.c b/philo/main.c index 1626f83..4a991cd 100644 --- a/philo/main.c +++ b/philo/main.c @@ -6,7 +6,7 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/03/05 12:49:40 by ljiriste #+# #+# */ -/* Updated: 2024/03/19 11:20:03 by ljiriste ### ########.fr */ +/* Updated: 2024/03/19 11:29:49 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ @@ -143,7 +143,7 @@ t_philo *build_philos(pthread_mutex_t *forks, t_settings *set) if (count > 0) philos[count].forks[1] = forks + count - (count + 1) % 2; } - return philos; + return (philos); } size_t ft_atos(const char *str)