Skip to content

Commit 7c6a801

Browse files
Merge pull request #1481 from joakim-brannstrom/mutate-fix-overflow
mutate: fix overflow
2 parents 027dccd + 172f82b commit 7c6a801

File tree

1 file changed

+1
-1
lines changed
  • plugin/mutate/source/dextool/plugin/mutate/backend/database

1 file changed

+1
-1
lines changed

plugin/mutate/source/dextool/plugin/mutate/backend/database/standalone.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ struct DbSchema {
24182418
void removeMutantProbability(const Checksum64 p) @trusted {
24192419
static immutable sql = format!"DELETE FROM %1$s WHERE path=:path"(schemaMutantQTable);
24202420
auto stmt = db.prepare(sql);
2421-
stmt.get.bind(":path", p.c0);
2421+
stmt.get.bind(":path", cast(long) p.c0);
24222422
stmt.get.execute;
24232423
}
24242424

0 commit comments

Comments
 (0)