X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=0802b054089a92bc880dcf7f3cb8bc8b5ef9e1bd;hb=e084227a3608bc38230b88ea03e7b0f0804dd3ad;hp=42aaa401beab888337a924ac71e933d0d5626afb;hpb=b5bbc6ebaeaf4381ea2436a3b410dcf4980c8efd;p=libc-test diff --git a/src/math/llround.c b/src/math/llround.c index 42aaa40..0802b05 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -10,7 +10,7 @@ static struct d_i t[] = { int main(void) { #pragma STDC FENV_ACCESS ON - int yi; + long long yi; float d; int e, i, err = 0; struct d_i *p; @@ -32,7 +32,7 @@ int main(void) err++; } if (yi != p->i) { - printf("%s:%d: %s llround(%a) want %lld got %d\n", + printf("%s:%d: %s llround(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++; }