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
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
#include "libft.h"
|
||||
|
||||
void *ft_memchr(const void *s, int c, t_size n)
|
||||
void *ft_memchr(const void *s, int c, size_t n)
|
||||
{
|
||||
t_size i;
|
||||
size_t i;
|
||||
|
||||
i = 0;
|
||||
while (i < n)
|
||||
|
|
@ -33,7 +33,7 @@ void *ft_memchr(const void *s, int c, t_size n)
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
char *result;
|
||||
t_size cmp_len;
|
||||
size_t cmp_len;
|
||||
|
||||
cmp_len = 5;
|
||||
if (argc > 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue