Fix bug from cleaning out floating point stuff

main
Valentin Ochs 2021-02-19 21:31:27 +01:00
parent aef6937a1c
commit bed7092e0a
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,7 @@ static int getint(char **s) {
static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg, int *nl_type)
{
char *a, *z, *s=(char *)fmt;
char buf[32];
unsigned l10n=0, fl;
int w, p, xp;
union arg arg;
@ -291,6 +292,7 @@ static int printf_core(FILE *f, const char *fmt, va_list *ap, union arg *nl_arg,
if (!f) continue;
z = buf + sizeof(buf);
prefix = "-+ 0X0x";
pl = 0;
t = s[-1];