chore: use correct size_t instead of t_size
This commit is contained in:
parent
aad909fe23
commit
b81ad331b5
10 changed files with 40 additions and 40 deletions
|
|
@ -6,22 +6,22 @@
|
|||
/* By: kcolin <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/15 14:47:09 by kcolin #+# #+# */
|
||||
/* Updated: 2024/10/15 14:53:42 by kcolin ### ########.fr */
|
||||
/* Updated: 2024/10/16 15:19:03 by kcolin ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
static int min(t_size a, t_size b)
|
||||
static int min(size_t a, size_t b)
|
||||
{
|
||||
if (a > b)
|
||||
return (b);
|
||||
return (a);
|
||||
}
|
||||
|
||||
t_size strlcpy(char *dst, const char *src, t_size size)
|
||||
size_t strlcpy(char *dst, const char *src, size_t size)
|
||||
{
|
||||
t_size i;
|
||||
size_t i;
|
||||
|
||||
i = 0;
|
||||
while (src[i] != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue