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]>
---
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 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;
--
2.39.5