Commit 05a98c17 authored by Gabriel Genois's avatar Gabriel Genois

..

parent 37d76772
Pipeline #96 failed with stages
in 12 seconds
......@@ -6,7 +6,7 @@
/* By: ggenois <ggenois@student.le-101.fr> +:+ +: +: +:+ */
/* #+# #+ #+ #+# */
/* Created: 2018/05/19 16:03:09 by ggenois #+# ## ## #+# */
/* Updated: 2018/11/04 14:50:23 by ggenois ### #+. /#+ ###.fr */
/* Updated: 2018/11/04 15:32:47 by ggenois ### #+. /#+ ###.fr */
/* / */
/* / */
/* ************************************************************************** */
......@@ -185,7 +185,8 @@ int main(int argc, char **argv)
//i = ft_printf("\n%S", NULL);
//i = ft_printf("%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S%S", L"Α α", L"Β β", L"Γ γ", L"Δ δ", L"Ε ε", L"Ζ ζ", L"Η η", L"Θ θ", L"Ι ι", L"Κ κ", L"Λ λ", L"Μ μ", L"Ν ν", L"Ξ ξ", L"Ο ο", L"Π π", L"Ρ ρ", L"Σ σ", L"Τ τ", L"Υ υ", L"Φ φ", L"Χ χ", L"Ψ ψ", L"Ω ω", L"");
//i = ft_printf("\n%D", 9223372036854775807);
i = ft_printf("\n%D", 9583444433307);
//i = ft_printf("\n%D", 9583444433307);
i = ft_printf("%X", 42);
ft_putchar('\n');
ft_putnbr(i);
}
......
......@@ -6,7 +6,7 @@
/* By: ggenois <ggenois@student.le-101.fr> +:+ +: +: +:+ */
/* #+# #+ #+ #+# */
/* Created: 2018/05/19 16:07:38 by ggenois #+# ## ## #+# */
/* Updated: 2018/11/04 14:56:01 by ggenois ### #+. /#+ ###.fr */
/* Updated: 2018/11/04 15:31:06 by ggenois ### #+. /#+ ###.fr */
/* / */
/* / */
/* ************************************************************************** */
......@@ -103,11 +103,12 @@ char *ftpf_get_n(t_pfdata **dt, va_list *data)
src = ftpf_get_numswf(data, l, base, dt);
else
src = ftpf_get_numuwf(data, l, base, dt);
if ((*dt)->t == 'X')
out = ft_strupper(src);
else
out = ft_strdup(src);
free(src);
return (out);
}
if ((*dt)->t == 'X')
out = ft_strupper(src);
else
out = ft_strdup(src);
free(src);
return (out);
return (NULL);
}
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment