mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 15:23:03 +01:00
Fix #8288 - GPRE generated code is incompatible with GCC 14.2.
This commit is contained in:
parent
6214b9d582
commit
aceb5a6948
@ -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];
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user