From ef45d6489f112fa66ce26ed156d3d90968f409a3 Mon Sep 17 00:00:00 2001 From: Gaius Mulley Date: Wed, 1 Oct 2025 23:04:56 +0100 Subject: [PATCH] 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 --- 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; -- 2.47.3