From: Gaius Mulley Date: Wed, 1 Oct 2025 22:04:56 +0000 (+0100) Subject: PR modula2/122009: ldtoa_ldtoa correct parameter type from int to bool X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef45d6489f112fa66ce26ed156d3d90968f409a3;p=thirdparty%2Fgcc.git PR modula2/122009: ldtoa_ldtoa correct parameter type from int to bool This is an obvious fix which corrects a parameter type so that it matches the prototype. gcc/m2/ChangeLog: PR modula2/122009 * pge-boot/Gldtoa.cc (ldtoa_ldtoa): Change int to bool for parameter sign. Signed-off-by: Gaius Mulley --- diff --git a/gcc/m2/pge-boot/Gldtoa.cc b/gcc/m2/pge-boot/Gldtoa.cc index 0a43de0fa1a..9fa2fd2745d 100644 --- a/gcc/m2/pge-boot/Gldtoa.cc +++ b/gcc/m2/pge-boot/Gldtoa.cc @@ -63,7 +63,7 @@ ldtoa_strtold (void *s, bool *error) } char * -ldtoa_ldtoa (long double d, int mode, int ndigits, int *decpt, int *sign) +ldtoa_ldtoa (long double d, int mode, int ndigits, int *decpt, bool *sign) { char format[50]; char *p;