mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[db] Fix bug in bind_generic, input to sqlite3_bind_int64 should be int64_t
This commit is contained in:
parent
1fa1d9091b
commit
b6163c9d34
2
src/db.c
2
src/db.c
@ -1285,7 +1285,7 @@ bind_generic(sqlite3_stmt *stmt, void *data, const struct col_type_map *map, siz
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case DB_TYPE_INT64:
|
case DB_TYPE_INT64:
|
||||||
sqlite3_bind_int64(stmt, n, *((uint64_t *)ptr));
|
sqlite3_bind_int64(stmt, n, *((int64_t *)ptr));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DB_TYPE_STRING:
|
case DB_TYPE_STRING:
|
||||||
|
Loading…
Reference in New Issue
Block a user