X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Finternal%2Ffloatscan.c;h=68f576c9eca34403e78dfbdd42da7a143537599d;hb=e3ebe7db5de64c193202f1c5b321c9a470e730c5;hp=4b335f5cf4a45b5254f4d471bb34c67501a3ca9c;hpb=28c5d46d844684feba2ddfc9027ea308d8d3612c;p=musl diff --git a/src/internal/floatscan.c b/src/internal/floatscan.c index 4b335f5c..68f576c9 100644 --- a/src/internal/floatscan.c +++ b/src/internal/floatscan.c @@ -352,7 +352,7 @@ static long double hexfloat(FILE *f, int bits, int emin, int sign, int pok) } else { shlim(f, 0); } - return 0; + return sign * 0.0; } if (!gotrad) rp = dc; while (dc<8) x *= 16, dc++;