aboutsummaryrefslogtreecommitdiff
path: root/common/io.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-05 15:06:03 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-05 15:06:03 +0200
commit473cf5d7576744b679b7a504232b5ebd4b5d689f (patch)
tree6518e4fd26bf4584e5a2d72b9e1289473bce76da /common/io.c
parenta237321ee53f44793ebc8b9db26b743f092b5e40 (diff)
downloadphilosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.tar.gz
philosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.tar.bz2
philosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.zip
Norming
Diffstat (limited to 'common/io.c')
-rw-r--r--common/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/io.c b/common/io.c
index 7989575..355135a 100644
--- a/common/io.c
+++ b/common/io.c
@@ -6,7 +6,7 @@
/* By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/09/30 10:03:53 by cacharle #+# #+# */
-/* Updated: 2020/09/30 10:32:41 by cacharle ### ########.fr */
+/* Updated: 2020/10/05 14:27:13 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -28,7 +28,7 @@ static char *st_nbrcpy(char *dst, long long int num)
dst = st_nbrcpy(dst, num / 10);
dst[0] = num % 10 + '0';
dst[1] = '\0';
- return dst + 1;
+ return (dst + 1);
}
static void st_strcat(char *dst, char *str)