mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Don't use variable length arrays
This commit is contained in:
parent
7433d65d3e
commit
ff25218374
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ bool SQL_registerRow(ActionRow row)
|
|||
*/
|
||||
sqlite3_reset(dbs_do);
|
||||
|
||||
int bind [20 + (((bool) row.id) ? 1 : 0)], ii = 0;
|
||||
int bind [22], ii = 0;
|
||||
bool nodeMeta = false;
|
||||
|
||||
bind[ii++] = sqlite3_bind_int(dbs_do, 1, row.actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue