X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fstdlib%2Fstrtoll.c;h=bc952c7fd1fe4a9130c32cbd1a3e7632e495bd37;hb=24561fa7da57b0b6459e1d2ac661e94417bc725d;hp=41640a159e074a632540410f805a1b72026bf2a5;hpb=158622abb56009c46691cd463790ef15d172730c;p=fw%2Fpdclib diff --git a/functions/stdlib/strtoll.c b/functions/stdlib/strtoll.c index 41640a1..bc952c7 100644 --- a/functions/stdlib/strtoll.c +++ b/functions/stdlib/strtoll.c @@ -25,7 +25,6 @@ long long int strtoll( const char * s, char ** endptr, int base ) } else { - /* FIXME: This breaks on some machines that round negatives wrongly */ rc = (long long int)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)LLONG_MIN, (uintmax_t)( LLONG_MIN / -base ), (int)( -( LLONG_MIN % base ) ), &sign ); } if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) s;