X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Finttypes%2Fstrtoimax.c;h=5bd7ec6daee1b2e4298cec5bf77522b667ad4b11;hp=2d0fdf77c27e6500afa4465b36d7fedce88e202a;hb=598c0675c5229ecfd5a7aa31a9f02c392b9e1e9d;hpb=52170395fe98af533c3b44ffae13c66aeb1cdb99 diff --git a/functions/inttypes/strtoimax.c b/functions/inttypes/strtoimax.c index 2d0fdf7..5bd7ec6 100644 --- a/functions/inttypes/strtoimax.c +++ b/functions/inttypes/strtoimax.c @@ -25,7 +25,6 @@ intmax_t strtoimax( const char * _PDCLIB_restrict nptr, char ** _PDCLIB_restrict } else { - /* FIXME: This breaks on some machines that round negatives wrongly */ rc = (intmax_t)_PDCLIB_strtox_main( &p, (unsigned)base, (uintmax_t)INTMAX_MIN, (uintmax_t)( INTMAX_MIN / -base ), (int)( -( INTMAX_MIN % base ) ), &sign ); } if ( endptr != NULL ) *endptr = ( p != NULL ) ? (char *) p : (char *) nptr;