Mail Archives: djgpp-workers/2003/05/22/06:37:31
> Any one got any feedback on this one?
...
> > *** src\libc\ansi\stdlib\strtod_old.c Mon May 19 20:12:32 2003
> > --- src\libc\ansi\stdlib\strtod.c Mon May 19 20:12:18 2003
> > *************** strtod(const char *s, char **sret)
> > *** 89,95 ****
> > mantissa_bits = strtoull(&s[4], &endptr, 16);
> > if ( *endptr == ')' )
> > {
> > ! mantissa_bits = mantissa_bits & 0xfffffffffffff;
> > if( mantissa_bits )
> > {
> > n.mantissal = mantissa_bits & 0xffffffff;
> > --- 89,95 ----
> > mantissa_bits = strtoull(&s[4], &endptr, 16);
> > if ( *endptr == ')' )
> > {
> > ! mantissa_bits = mantissa_bits & 0xfffffffffffffLL;
> > if( mantissa_bits )
> > {
> > n.mantissal = mantissa_bits & 0xffffffff;
As the one that commited the above, if this removes any warnings go
ahead. (Likewise for the other almost identical one.)
Right,
MartinS
- Raw text -