X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fstrtoll.c;h=bc952c7fd1fe4a9130c32cbd1a3e7632e495bd37;hp=41640a159e074a632540410f805a1b72026bf2a5;hb=598c0675c5229ecfd5a7aa31a9f02c392b9e1e9d;hpb=52170395fe98af533c3b44ffae13c66aeb1cdb99 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;