aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rollback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rollback.cpp b/src/rollback.cpp
index 4dc462af6..bae81ddb0 100644
--- a/src/rollback.cpp
+++ b/src/rollback.cpp
@@ -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);