https://gcc.gnu.org/g:ef45d6489f112fa66ce26ed156d3d90968f409a3
commit r16-4175-gef45d6489f112fa66ce26ed156d3d90968f409a3 Author: Gaius Mulley <[email protected]> Date: Wed Oct 1 23:04:56 2025 +0100 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 <[email protected]> Diff: --- gcc/m2/pge-boot/Gldtoa.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/m2/pge-boot/Gldtoa.cc b/gcc/m2/pge-boot/Gldtoa.cc index 0a43de0fa1ae..9fa2fd2745db 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;
