[db] Fix bug in bind_generic, input to sqlite3_bind_int64 should be int64_t

This commit is contained in:
ejurgensen 2021-01-25 20:39:45 +01:00
parent 1fa1d9091b
commit b6163c9d34

View File

@ -1285,7 +1285,7 @@ bind_generic(sqlite3_stmt *stmt, void *data, const struct col_type_map *map, siz
break;
case DB_TYPE_INT64:
sqlite3_bind_int64(stmt, n, *((uint64_t *)ptr));
sqlite3_bind_int64(stmt, n, *((int64_t *)ptr));
break;
case DB_TYPE_STRING: