aboutsummaryrefslogtreecommitdiff
path: root/convert_uint.c
diff options
context:
space:
mode:
Diffstat (limited to 'convert_uint.c')
-rw-r--r--convert_uint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/convert_uint.c b/convert_uint.c
index ddf9773..92f5ed2 100644
--- a/convert_uint.c
+++ b/convert_uint.c
@@ -6,11 +6,10 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/30 23:25:40 by cacharle #+# #+# */
-/* Updated: 2019/11/04 19:20:27 by cacharle ### ########.fr */
+/* Updated: 2019/11/05 23:44:19 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
-#include <stdarg.h>
#include "header.h"
char *convert_uint(va_list ap, t_pformat *pformat)
@@ -30,6 +29,6 @@ char *convert_uint(va_list ap, t_pformat *pformat)
n = va_arg(ap, unsigned int);
str = ft_itoa_unsigned_base(n, "0123456789");
str = handle_precision(pformat, str);
- str = handle_padding(pformat, str);
+ str = handle_width(pformat, str);
return (str);
}