8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Fix #8288 - GPRE generated code is incompatible with GCC 14.2.

This commit is contained in:
Adriano dos Santos Fernandes 2024-10-20 22:03:25 -03:00
parent 6214b9d582
commit aceb5a6948
2 changed files with 2 additions and 2 deletions

View File

@ -2016,7 +2016,7 @@ static SSHORT gen_event_block(act* action)
int ident = CMP_next_ident();
init->nod_arg[2] = (gpre_nod*)(IPTR)ident;
printa(0, "static %schar\n *isc_%da, *isc_%db;", CONST_STR, ident, ident);
printa(0, "static unsigned char\n *isc_%da, *isc_%db;", ident, ident);
printa(0, "static short\n isc_%dl;", ident);
const gpre_nod* list = init->nod_arg[1];

View File

@ -2971,7 +2971,7 @@ static SCHAR blr_print_char(gds_ctl* control)
else if (control->ctl_language)
blr_format(control, "chr(%d),", (int) v);
else
blr_format(control, "%d,", (int) c);
blr_format(control, "%d,", (int) v);
return c;
}